Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 106.1 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 196 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6701/0.6701, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 493.2 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.398, allocations: 76.17 MB / 0.556 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004518/0.4026, allocations: 3.86 MB / 0.5598 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.4048, allocations: 1.717 MB / 0.5615 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.405, allocations: 9.875 kB / 0.5615 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.4062, allocations: 467 kB / 0.5619 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.4066, allocations: 206.8 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.4071, allocations: 191.4 kB / 0.5623 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.4076, allocations: 480 kB / 0.5628 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.4082, allocations: 402.8 kB / 0.5631 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.4084, allocations: 199.8 kB / 0.5633 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.4088, allocations: 219.3 kB / 0.5635 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.4088, allocations: 27.91 kB / 0.5636 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.4093, allocations: 245 kB / 0.5638 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4094, allocations: 129.4 kB / 0.5639 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.4096, allocations: 171.2 kB / 0.5641 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.4102, allocations: 0.5136 MB / 0.5646 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4102, allocations: 0 / 0.5646 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4102, allocations: 5 kB / 0.5646 GB, free: 31.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4102, allocations: 0.5 kB / 0.5646 GB, free: 31.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008901/0.4111, allocations: 0.6269 MB / 0.5652 GB, free: 30.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4112, allocations: 9.375 kB / 0.5652 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.4112, allocations: 66.45 kB / 0.5653 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.4121, allocations: 132.7 kB / 0.5654 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.4125, allocations: 292.1 kB / 0.5657 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4125, allocations: 20.16 kB / 0.5657 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.4125, allocations: 34.62 kB / 0.5657 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.4132, allocations: 465.2 kB / 0.5662 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4132, allocations: 2.031 kB / 0.5662 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4133, allocations: 12.12 kB / 0.5662 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.4133, allocations: 31.33 kB / 0.5662 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.4138, allocations: 322.6 kB / 0.5665 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.4156, allocations: 2.189 MB / 0.5687 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.416, allocations: 255.8 kB / 0.5689 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.4162, allocations: 114.2 kB / 0.569 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.4162, allocations: 1.062 kB / 0.569 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.4162, allocations: 37.69 kB / 0.5691 GB, free: 27.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4163, allocations: 0.5 kB / 0.5691 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005623/0.4168, allocations: 305.4 kB / 0.5693 GB, free: 27.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.4169, allocations: 53.14 kB / 0.5694 GB, free: 27.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4171, allocations: 273.9 kB / 0.5697 GB, free: 27.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.4171, allocations: 25.7 kB / 0.5697 GB, free: 27.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.4172, allocations: 201.6 kB / 0.5699 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.4173, allocations: 58.2 kB / 0.5699 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.4174, allocations: 47.78 kB / 0.57 GB, free: 26.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.4174, allocations: 337.7 kB / 0.5703 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.4175, allocations: 54.78 kB / 0.5704 GB, free: 26.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4177, allocations: 147 kB / 0.5705 GB, free: 26.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4179, allocations: 224.2 kB / 0.5707 GB, free: 26.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4179, allocations: 1.938 kB / 0.5707 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004007/0.4183, allocations: 262 kB / 0.571 GB, free: 26.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4183, allocations: 9.141 kB / 0.571 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4184, allocations: 3.438 kB / 0.571 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.4185, allocations: 31.38 kB / 0.571 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.4187, allocations: 52.91 kB / 0.571 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007768/0.4195, allocations: 1.421 MB / 0.5724 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.4197, allocations: 28.27 kB / 0.5725 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4197, allocations: 13.36 kB / 0.5725 GB, free: 24.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4198, allocations: 171.7 kB / 0.5726 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.4199, allocations: 24.92 kB / 0.5727 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.4199, allocations: 29.66 kB / 0.5727 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4199, allocations: 2.344 kB / 0.5727 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4199, allocations: 0 / 0.5727 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.42, allocations: 1.906 kB / 0.5727 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.4207, allocations: 0.699 MB / 0.5734 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4207, allocations: 3.188 kB / 0.5734 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.4208, allocations: 24.09 kB / 0.5734 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.4209, allocations: 30.44 kB / 0.5734 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4209, allocations: 2.938 kB / 0.5734 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007682/0.4217, allocations: 1.418 MB / 0.5748 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4217, allocations: 6.156 kB / 0.5748 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.4221, allocations: 320.3 kB / 0.5751 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.4222, allocations: 115.5 kB / 0.5752 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4222, allocations: 2.859 kB / 0.5752 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4224, allocations: 12.12 kB / 0.5753 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4225, allocations: 21.67 kB / 0.5753 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4225, allocations: 9.344 kB / 0.5753 GB, free: 22.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4227, allocations: 190.8 kB / 0.5755 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4227, allocations: 0 / 0.5755 GB, free: 22.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.4231, allocations: 80.19 kB / 0.5755 GB, free: 22.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005717/0.4237, allocations: 0.8413 MB / 0.5764 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.4242, allocations: 287.5 kB / 0.5766 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4242, allocations: 1.375 kB / 0.5766 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.4244, allocations: 177 kB / 0.5768 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.4249, allocations: 70.53 kB / 0.5769 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.4278, allocations: 2.83 MB / 0.5796 GB, free: 18.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4281, allocations: 0.7906 MB / 0.5804 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.4282, allocations: 52.11 kB / 0.5805 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4284, allocations: 83.72 kB / 0.5805 GB, free: 18.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4284, allocations: 0 / 0.5805 GB, free: 18.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.451, allocations: 5.199 MB / 0.5856 GB, free: 17.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.4512, allocations: 208 kB / 0.5858 GB, free: 17.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.183, allocations: 0 / 0.5858 GB, free: 17.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)