Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7457/0.7457, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 188.7 kB / 169.7 MB, free: 1.719 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.0008052, allocations: 86.45 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.855e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.7043, allocations: 110.7 MB / 0.7363 GB, free: 2.863 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.7046, allocations: 82.25 kB / 0.7364 GB, free: 2.816 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05047/0.7551, allocations: 17.75 MB / 0.7537 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7551, allocations: 0 / 0.7537 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001193/0.7552, allocations: 19.94 kB / 0.7537 GB, free: 3.711 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002318/0.7576, allocations: 0.9478 MB / 0.7547 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.7576, allocations: 8.031 kB / 0.7547 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.7579, allocations: 98.5 kB / 0.7548 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.7582, allocations: 98.78 kB / 0.7549 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.7594, allocations: 0.5979 MB / 0.7554 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.7596, allocations: 104.7 kB / 0.7555 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.7597, allocations: 52 kB / 0.7556 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.7608, allocations: 0.598 MB / 0.7562 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.7608, allocations: 0 / 0.7562 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.7609, allocations: 24 kB / 0.7562 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.7609, allocations: 12 kB / 0.7562 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.7616, allocations: 383.8 kB / 0.7566 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.7652, allocations: 2.224 MB / 0.7588 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008995/0.7661, allocations: 461.3 kB / 0.7592 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.7664, allocations: 172.8 kB / 0.7594 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.7665, allocations: 8.703 kB / 0.7594 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/0.767, allocations: 250.3 kB / 0.7596 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.406e-06/0.767, allocations: 4 kB / 0.7596 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0009678/0.768, allocations: 428.6 kB / 0.76 GB, free: 13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7681, allocations: 195.9 kB / 0.7602 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.7689, allocations: 0.539 MB / 0.7607 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.7691, allocations: 37.7 kB / 0.7608 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.7694, allocations: 356.9 kB / 0.7611 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.7696, allocations: 157.7 kB / 0.7613 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.7696, allocations: 12 kB / 0.7613 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7698, allocations: 326 kB / 0.7616 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.77, allocations: 149.1 kB / 0.7617 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.7704, allocations: 275.8 kB / 0.762 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.7708, allocations: 203.3 kB / 0.7622 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7708, allocations: 0 / 0.7622 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009695/0.7718, allocations: 0.5474 MB / 0.7627 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005056/0.7723, allocations: 0.9915 MB / 0.7637 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.7723, allocations: 4 kB / 0.7637 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/0.7724, allocations: 8 kB / 0.7637 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.773, allocations: 119.8 kB / 0.7638 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.773, allocations: 7.953 kB / 0.7638 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.7736, allocations: 87.48 kB / 0.7639 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.7736, allocations: 20 kB / 0.7639 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.7737, allocations: 4 kB / 0.7639 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007644/0.7744, allocations: 456 kB / 0.7644 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7745, allocations: 4 kB / 0.7644 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.7745, allocations: 8.859 kB / 0.7644 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.7749, allocations: 99.84 kB / 0.7645 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7749, allocations: 7.984 kB / 0.7645 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.7754, allocations: 55.73 kB / 0.7645 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.7754, allocations: 24 kB / 0.7645 GB, free: 8.141 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.7757, allocations: 136.8 kB / 0.7647 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7758, allocations: 79.08 kB / 0.7648 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.7761, allocations: 79.12 kB / 0.7648 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7761, allocations: 4 kB / 0.7648 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7761, allocations: 0 / 0.7648 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7761, allocations: 7.984 kB / 0.7648 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.777, allocations: 0.653 MB / 0.7655 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.777, allocations: 3.953 kB / 0.7655 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.7775, allocations: 99.88 kB / 0.7656 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.7775, allocations: 4 kB / 0.7656 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.7776, allocations: 4 kB / 0.7656 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7776, allocations: 4 kB / 0.7656 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7776, allocations: 3.984 kB / 0.7656 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.7788, allocations: 0.6576 MB / 0.7662 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.7792, allocations: 208 kB / 0.7664 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.7793, allocations: 12 kB / 0.7664 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.78, allocations: 68.12 kB / 0.7665 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7801, allocations: 31.95 kB / 0.7665 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.7802, allocations: 15.98 kB / 0.7666 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008698/0.7811, allocations: 431.2 kB / 0.767 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7811, allocations: 0 / 0.767 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009169/0.782, allocations: 243.2 kB / 0.7672 GB, free: 5.332 MB / 0.5105 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/0.7835, allocations: 1.227 MB / 0.7684 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.7847, allocations: 0.739 MB / 0.7691 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7848, allocations: 4.438 kB / 0.7691 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.7851, allocations: 192 kB / 0.7693 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.7862, allocations: 185.5 kB / 0.7695 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7886, allocations: 1.028 MB / 0.7705 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.7893, allocations: 0.9506 MB / 0.7714 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006605/0.7899, allocations: 131.8 kB / 0.7715 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.7903, allocations: 265.6 kB / 0.7718 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.7903, allocations: 4 kB / 0.7718 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.828, allocations: 15.45 MB / 0.7869 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.8283, allocations: 156.8 kB / 0.787 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.334, allocations: 0 / 0.787 GB, free: 0.9727 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPID.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)