Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",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.004397/0.004397, allocations: 100.7 kB / 15.87 MB, free: 6.312 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.001181/0.001181, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6151/0.6151, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.61 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1194, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004823/0.1243, allocations: 3.704 MB / 0.5595 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1265, allocations: 1.297 MB / 0.5607 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.127, allocations: 27.88 kB / 0.5607 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1274, allocations: 91.11 kB / 0.5608 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.1279, allocations: 143 kB / 0.561 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.129, allocations: 0.5419 MB / 0.5615 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008169/0.1298, allocations: 0.8978 MB / 0.5624 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1303, allocations: 341.6 kB / 0.5627 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1306, allocations: 318.3 kB / 0.563 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1309, allocations: 326 kB / 0.5633 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.131, allocations: 36 kB / 0.5634 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.331e-05/0.131, allocations: 36 kB / 0.5634 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1312, allocations: 147.2 kB / 0.5635 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.1314, allocations: 341.7 kB / 0.5639 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.132, allocations: 0.8098 MB / 0.5646 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.132, allocations: 0 / 0.5646 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.132, allocations: 4 kB / 0.5646 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.132, allocations: 0 / 0.5646 GB, free: 1.652 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001747/0.1337, allocations: 1.183 MB / 0.5658 GB, free: 424 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1338, allocations: 8.031 kB / 0.5658 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.261e-05/0.1339, allocations: 90.7 kB / 0.5659 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.134, allocations: 95.81 kB / 0.566 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.1348, allocations: 0.5948 MB / 0.5666 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-05/0.1349, allocations: 92.97 kB / 0.5667 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.135, allocations: 60.36 kB / 0.5667 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.1359, allocations: 0.6001 MB / 0.5673 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.136, allocations: 0 / 0.5673 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.136, allocations: 27.94 kB / 0.5673 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.136, allocations: 15.94 kB / 0.5673 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.1369, allocations: 427.6 kB / 0.5677 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1392, allocations: 2.11 MB / 0.5698 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1403, allocations: 0.4989 MB / 0.5703 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.1408, allocations: 216.8 kB / 0.5705 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1408, allocations: 11.98 kB / 0.5705 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.1414, allocations: 270.2 kB / 0.5708 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.1414, allocations: 0 / 0.5708 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001274/0.1427, allocations: 0.6165 MB / 0.5714 GB, free: 10.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1428, allocations: 88.84 kB / 0.5715 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.1434, allocations: 0.6138 MB / 0.5721 GB, free: 9.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.1434, allocations: 37.7 kB / 0.5721 GB, free: 9.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1436, allocations: 352.9 kB / 0.5724 GB, free: 9.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1437, allocations: 157.8 kB / 0.5726 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1439, allocations: 94.16 kB / 0.5727 GB, free: 9.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.144, allocations: 330 kB / 0.573 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.1444, allocations: 179 kB / 0.5732 GB, free: 8.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1448, allocations: 276.2 kB / 0.5734 GB, free: 8.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.1457, allocations: 485.8 kB / 0.5739 GB, free: 7.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1457, allocations: 5.094 kB / 0.5739 GB, free: 7.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001044/0.1467, allocations: 0.5982 MB / 0.5745 GB, free: 7.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.1468, allocations: 34.02 kB / 0.5745 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1468, allocations: 4 kB / 0.5745 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1468, allocations: 8 kB / 0.5745 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.1472, allocations: 107.8 kB / 0.5746 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1473, allocations: 7.938 kB / 0.5746 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.1476, allocations: 63.5 kB / 0.5747 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1476, allocations: 16 kB / 0.5747 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004948/0.1481, allocations: 317.2 kB / 0.575 GB, free: 6.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003979/0.1485, allocations: 260.2 kB / 0.5753 GB, free: 6.332 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007291/0.1493, allocations: 454 kB / 0.5757 GB, free: 5.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.1493, allocations: 0 / 0.5757 GB, free: 5.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009555/0.1502, allocations: 0.5825 MB / 0.5763 GB, free: 5.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1503, allocations: 35.73 kB / 0.5763 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1503, allocations: 4 kB / 0.5763 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.1503, allocations: 4 kB / 0.5763 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.1507, allocations: 112.1 kB / 0.5764 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1507, allocations: 8 kB / 0.5764 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.151, allocations: 47.58 kB / 0.5765 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.1511, allocations: 27.92 kB / 0.5765 GB, free: 5.012 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001314/0.1512, allocations: 217.7 kB / 0.5767 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.1513, allocations: 67.16 kB / 0.5768 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.1514, allocations: 79.22 kB / 0.5768 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1514, allocations: 8 kB / 0.5768 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1515, allocations: 0 / 0.5768 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1515, allocations: 7.984 kB / 0.5768 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.152, allocations: 0.618 MB / 0.5775 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.152, allocations: 0 / 0.5775 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004274/0.1525, allocations: 83.88 kB / 0.5775 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1525, allocations: 4 kB / 0.5775 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.1525, allocations: 8 kB / 0.5775 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1525, allocations: 4 kB / 0.5775 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1525, allocations: 7.984 kB / 0.5776 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.1539, allocations: 0.7314 MB / 0.5783 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.1541, allocations: 192 kB / 0.5785 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.1542, allocations: 11.98 kB / 0.5785 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.1545, allocations: 35.97 kB / 0.5785 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.1546, allocations: 27.95 kB / 0.5785 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.1547, allocations: 15.98 kB / 0.5785 GB, free: 2.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.1551, allocations: 435 kB / 0.579 GB, free: 2.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1551, allocations: 4 kB / 0.579 GB, free: 2.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.1556, allocations: 215.3 kB / 0.5792 GB, free: 2.172 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001575/0.1572, allocations: 1.284 MB / 0.5804 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1585, allocations: 0.781 MB / 0.5812 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1586, allocations: 0 / 0.5812 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1825/0.3411, allocations: 216.8 kB / 0.5814 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3422, allocations: 185 kB / 0.5816 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.3497, allocations: 5.842 MB / 0.5873 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.35, allocations: 0.9152 MB / 0.5882 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.3504, allocations: 97.11 kB / 0.5883 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.3507, allocations: 259.3 kB / 0.5885 GB, free: 28.92 MB / 446.1 MB Notification: Performance of SimCode: time 5e-07/0.3507, allocations: 0 / 0.5885 GB, free: 28.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4409/0.7916, allocations: 13.33 MB / 0.6015 GB, free: 25.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/0.7918, allocations: 196.8 kB / 0.6017 GB, free: 25.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.755, allocations: 0 / 0.6017 GB, free: 25.57 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)