Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001397/0.001397, allocations: 106 kB / 16.4 MB, free: 6.465 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.001382/0.001382, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8142/0.8142, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 68.23 kB / 0.5716 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1225, allocations: 78.56 MB / 0.6484 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003053/0.1256, allocations: 2.043 MB / 0.6503 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.1305, allocations: 4.07 MB / 0.6543 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.1306, allocations: 4 kB / 0.6543 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.1314, allocations: 191.4 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1315, allocations: 67.41 kB / 0.6546 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.1322, allocations: 264.8 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.1327, allocations: 378.8 kB / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1329, allocations: 52.23 kB / 0.6552 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.133, allocations: 111.6 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1332, allocations: 127.4 kB / 0.6555 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1332, allocations: 16 kB / 0.6555 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.1337, allocations: 311.5 kB / 0.6558 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1339, allocations: 103.6 kB / 0.6559 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.134, allocations: 147.1 kB / 0.656 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.1346, allocations: 0.5058 MB / 0.6565 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1346, allocations: 3.984 kB / 0.6565 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1346, allocations: 0 / 0.6565 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.1347, allocations: 4 kB / 0.6565 GB, free: 13.21 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00127/0.1359, allocations: 0.7638 MB / 0.6573 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.136, allocations: 8.031 kB / 0.6573 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.136, allocations: 42.75 kB / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1361, allocations: 36.7 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.1366, allocations: 338.6 kB / 0.6577 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1366, allocations: 11.94 kB / 0.6577 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1366, allocations: 4 kB / 0.6577 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.1371, allocations: 195.2 kB / 0.6579 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1371, allocations: 0 / 0.6579 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1372, allocations: 12 kB / 0.6579 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1372, allocations: 0 / 0.6579 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.1379, allocations: 243.8 kB / 0.6581 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1389, allocations: 0.5862 MB / 0.6587 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.1393, allocations: 178.5 kB / 0.6589 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.1397, allocations: 136.9 kB / 0.659 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.1398, allocations: 23.92 kB / 0.659 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1398, allocations: 34.56 kB / 0.659 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1398, allocations: 0 / 0.659 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001286/0.1411, allocations: 441.2 kB / 0.6595 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1412, allocations: 59.41 kB / 0.6595 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1416, allocations: 409.5 kB / 0.6599 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1416, allocations: 25.7 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1418, allocations: 184 kB / 0.6601 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.1418, allocations: 35.69 kB / 0.6601 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.1419, allocations: 49.69 kB / 0.6602 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1421, allocations: 342.8 kB / 0.6605 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.1425, allocations: 179.8 kB / 0.6607 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.1429, allocations: 167.9 kB / 0.6609 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.1438, allocations: 353.3 kB / 0.6612 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1438, allocations: 7.938 kB / 0.6612 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009826/0.1448, allocations: 458.9 kB / 0.6616 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.1448, allocations: 49.69 kB / 0.6617 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1448, allocations: 0 / 0.6617 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1449, allocations: 7.938 kB / 0.6617 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1452, allocations: 47.88 kB / 0.6617 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1452, allocations: 0 / 0.6617 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1454, allocations: 35.86 kB / 0.6618 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1454, allocations: 11.98 kB / 0.6618 GB, free: 7.562 MB / 0.4981 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 (12): * Single equations (assignments): 11 * 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.0001507/0.1456, allocations: 149.8 kB / 0.6619 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1457, allocations: 35.77 kB / 0.662 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009583/0.1466, allocations: 352.4 kB / 0.6623 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.1467, allocations: 7.984 kB / 0.6623 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1467, allocations: 0 / 0.6623 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1467, allocations: 0 / 0.6623 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.147, allocations: 345.3 kB / 0.6626 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1471, allocations: 0 / 0.6626 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.1473, allocations: 47.94 kB / 0.6627 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1474, allocations: 4 kB / 0.6627 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1474, allocations: 3.938 kB / 0.6627 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1474, allocations: 0 / 0.6627 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1474, allocations: 3.984 kB / 0.6627 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.1483, allocations: 423 kB / 0.6631 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1484, allocations: 128.8 kB / 0.6632 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.1485, allocations: 3.938 kB / 0.6632 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.1487, allocations: 31.95 kB / 0.6632 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.1488, allocations: 15.98 kB / 0.6633 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1488, allocations: 7.984 kB / 0.6633 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002892/0.1491, allocations: 287.1 kB / 0.6635 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1491, allocations: 0 / 0.6635 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004222/0.1495, allocations: 119.8 kB / 0.6637 GB, free: 5.543 MB / 0.4981 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 (11): * Single equations (assignments): 11 * 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.001418/0.151, allocations: 1.025 MB / 0.6647 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.152, allocations: 0.4952 MB / 0.6651 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.152, allocations: 0 / 0.6651 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.1524, allocations: 151.8 kB / 0.6653 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1529, allocations: 53.53 kB / 0.6653 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.1586, allocations: 4.19 MB / 0.6694 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.159, allocations: 0.7866 MB / 0.6702 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.1592, allocations: 49.48 kB / 0.6702 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.1594, allocations: 103.4 kB / 0.6703 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1594, allocations: 4 kB / 0.6704 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3672/0.5266, allocations: 8.309 MB / 0.6785 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.902, allocations: 13.22 kB / 0.6785 GB, free: 6.395 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)