Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.059 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9646/0.9646, allocations: 175.7 MB / 480.1 MB, free: 3.121 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 72.97 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 94.52 MB / 0.7601 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003142/0.1552, allocations: 2.182 MB / 0.7622 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004701/0.1599, allocations: 4.132 MB / 0.7662 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.16, allocations: 0 / 0.7662 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.1606, allocations: 195.1 kB / 0.7664 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1608, allocations: 75.34 kB / 0.7665 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.1613, allocations: 286.9 kB / 0.7668 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005956/0.1619, allocations: 442.6 kB / 0.7672 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.162, allocations: 36.72 kB / 0.7672 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1622, allocations: 139.5 kB / 0.7674 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1624, allocations: 163.3 kB / 0.7675 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.1625, allocations: 23.98 kB / 0.7675 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.163, allocations: 327.5 kB / 0.7678 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1631, allocations: 111.6 kB / 0.768 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1633, allocations: 167 kB / 0.7681 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.1639, allocations: 0.5758 MB / 0.7687 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1639, allocations: 4 kB / 0.7687 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1639, allocations: 0 / 0.7687 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1639, allocations: 0 / 0.7687 GB, free: 7.988 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001377/0.1653, allocations: 0.8107 MB / 0.7695 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1653, allocations: 8.031 kB / 0.7695 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1653, allocations: 42.73 kB / 0.7695 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.1663, allocations: 180.5 kB / 0.7697 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.167, allocations: 398.1 kB / 0.7701 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.167, allocations: 4 kB / 0.7701 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1671, allocations: 12 kB / 0.7701 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.1677, allocations: 249.4 kB / 0.7703 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1677, allocations: 0 / 0.7703 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1678, allocations: 8 kB / 0.7703 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1678, allocations: 7.938 kB / 0.7703 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1688, allocations: 337 kB / 0.7707 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.1701, allocations: 0.6836 MB / 0.7713 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1707, allocations: 210.4 kB / 0.7715 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.1712, allocations: 173 kB / 0.7717 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.1713, allocations: 27.97 kB / 0.7717 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1713, allocations: 38.56 kB / 0.7718 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1713, allocations: 0 / 0.7718 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001717/0.173, allocations: 0.5635 MB / 0.7723 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1731, allocations: 55.41 kB / 0.7724 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1735, allocations: 433.9 kB / 0.7728 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.1735, allocations: 33.7 kB / 0.7728 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1737, allocations: 184.6 kB / 0.773 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1737, allocations: 47.58 kB / 0.773 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1738, allocations: 57.67 kB / 0.7731 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.174, allocations: 346.8 kB / 0.7734 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1746, allocations: 292 kB / 0.7737 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.1753, allocations: 301.2 kB / 0.774 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1764, allocations: 0.5003 MB / 0.7745 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1764, allocations: 0 / 0.7745 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001442/0.1779, allocations: 0.7227 MB / 0.7752 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.1779, allocations: 41.69 kB / 0.7752 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1779, allocations: 11.98 kB / 0.7752 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1779, allocations: 3.938 kB / 0.7752 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.1784, allocations: 59.92 kB / 0.7753 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1784, allocations: 4 kB / 0.7753 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.1787, allocations: 59.78 kB / 0.7753 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1787, allocations: 7.938 kB / 0.7754 GB, free: 0.8867 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.1789, allocations: 157.8 kB / 0.7755 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.179, allocations: 39.75 kB / 0.7755 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1802, allocations: 440.8 kB / 0.776 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1802, allocations: 3.938 kB / 0.776 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1802, allocations: 0 / 0.776 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1802, allocations: 0 / 0.776 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1806, allocations: 377.2 kB / 0.7763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1806, allocations: 0 / 0.7763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.181, allocations: 67.84 kB / 0.7764 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.181, allocations: 4 kB / 0.7764 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.181, allocations: 4 kB / 0.7764 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.181, allocations: 11.94 kB / 0.7764 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.181, allocations: 0 / 0.7764 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1822, allocations: 0.4983 MB / 0.7769 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.1824, allocations: 140.8 kB / 0.777 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.1824, allocations: 0 / 0.777 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.1828, allocations: 43.88 kB / 0.7771 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.1828, allocations: 19.98 kB / 0.7771 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1828, allocations: 3.984 kB / 0.7771 GB, free: 15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002944/0.1831, allocations: 303.1 kB / 0.7774 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1831, allocations: 0 / 0.7774 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004034/0.1835, allocations: 127.8 kB / 0.7775 GB, free: 14.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/0.1852, allocations: 1.118 MB / 0.7786 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.1866, allocations: 0.6239 MB / 0.7792 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1866, allocations: 4 kB / 0.7792 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.1871, allocations: 179.8 kB / 0.7794 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1876, allocations: 67.47 kB / 0.7794 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.195, allocations: 5.22 MB / 0.7845 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1954, allocations: 0.7983 MB / 0.7853 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.1956, allocations: 53.92 kB / 0.7854 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.1958, allocations: 119.4 kB / 0.7855 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.1958, allocations: 4 kB / 0.7855 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.2286, allocations: 9.135 MB / 0.7944 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.772, allocations: 11.53 kB / 0.7944 GB, free: 13.26 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.09661809699901]