Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.7343/0.7343, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001454/0.001454, allocations: 176.8 kB / 169.7 MB, free: 1.746 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.612/1.612, 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.0009031/0.0009029, allocations: 88.97 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.142e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 76.76 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5909/0.7523, allocations: 111.1 MB / 0.7367 GB, free: 2.434 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.7526, allocations: 80.45 kB / 0.7368 GB, free: 2.391 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05824/0.8109, allocations: 20.77 MB / 0.7571 GB, free: 352 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8109, allocations: 0 / 0.7571 GB, free: 352 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001069/0.8111, allocations: 24 kB / 0.7571 GB, free: 328 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00221/0.8133, allocations: 1.11 MB / 0.7582 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.8133, allocations: 11.97 kB / 0.7582 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.8135, allocations: 114.5 kB / 0.7583 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.8138, allocations: 126.4 kB / 0.7584 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.8153, allocations: 0.7424 MB / 0.7591 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.8154, allocations: 91.59 kB / 0.7592 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.8156, allocations: 72 kB / 0.7593 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.8169, allocations: 0.7316 MB / 0.76 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.8169, allocations: 0 / 0.76 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.817, allocations: 32 kB / 0.76 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.817, allocations: 16 kB / 0.76 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.8179, allocations: 497.1 kB / 0.7605 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.8218, allocations: 2.387 MB / 0.7629 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.823, allocations: 0.5843 MB / 0.7634 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.8234, allocations: 222.5 kB / 0.7636 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.8235, allocations: 8.562 kB / 0.7636 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.8241, allocations: 303 kB / 0.7639 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.426e-06/0.8241, allocations: 0 / 0.7639 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.001059/0.8252, allocations: 0.5218 MB / 0.7644 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.8253, allocations: 141.1 kB / 0.7646 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/0.8263, allocations: 0.6579 MB / 0.7652 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.8263, allocations: 45.58 kB / 0.7653 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.8268, allocations: 456.4 kB / 0.7657 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.8269, allocations: 197.1 kB / 0.7659 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.827, allocations: 12 kB / 0.7659 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8272, allocations: 338 kB / 0.7662 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.8275, allocations: 181.6 kB / 0.7664 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.828, allocations: 295.5 kB / 0.7667 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.8284, allocations: 215.2 kB / 0.7669 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.8284, allocations: 0 / 0.7669 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001148/0.8296, allocations: 0.6111 MB / 0.7675 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004505/0.83, allocations: 0.8754 MB / 0.7683 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.83, allocations: 4 kB / 0.7683 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.8301, allocations: 4 kB / 0.7683 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009438/0.831, allocations: 167.8 kB / 0.7685 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.831, allocations: 7.938 kB / 0.7685 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.8317, allocations: 87.34 kB / 0.7686 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.8318, allocations: 23.98 kB / 0.7686 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.8318, allocations: 4 kB / 0.7686 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008163/0.8326, allocations: 489.2 kB / 0.7691 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8326, allocations: 4 kB / 0.7691 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.8326, allocations: 7.984 kB / 0.7691 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.8333, allocations: 148 kB / 0.7692 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8333, allocations: 4 kB / 0.7692 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.8339, allocations: 75.36 kB / 0.7693 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.8339, allocations: 20 kB / 0.7693 GB, free: 3.324 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002104/0.8341, allocations: 136.9 kB / 0.7695 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8343, allocations: 98.78 kB / 0.7696 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.8346, allocations: 105.4 kB / 0.7697 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.8346, allocations: 8 kB / 0.7697 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.8347, allocations: 0 / 0.7697 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.8347, allocations: 3.984 kB / 0.7697 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.8368, allocations: 1.451 MB / 0.7711 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8368, allocations: 0 / 0.7711 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.8374, allocations: 111.9 kB / 0.7712 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.8374, allocations: 4 kB / 0.7712 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.8375, allocations: 15.98 kB / 0.7712 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8375, allocations: 0 / 0.7712 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8375, allocations: 3.953 kB / 0.7712 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.839, allocations: 0.92 MB / 0.7721 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.8393, allocations: 231.8 kB / 0.7723 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.8394, allocations: 15.98 kB / 0.7723 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.84, allocations: 51.95 kB / 0.7724 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8401, allocations: 40.41 kB / 0.7724 GB, free: 40 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.8402, allocations: 23.98 kB / 0.7725 GB, free: 16 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008108/0.841, allocations: 0.5115 MB / 0.773 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.841, allocations: 0 / 0.773 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008557/0.8419, allocations: 292.7 kB / 0.7732 GB, free: 15.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001817/0.8437, allocations: 1.496 MB / 0.7747 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.8452, allocations: 0.774 MB / 0.7755 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.8452, allocations: 0 / 0.7755 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.8456, allocations: 251.2 kB / 0.7757 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.8469, allocations: 248.1 kB / 0.7759 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.85, allocations: 1.331 MB / 0.7772 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.8506, allocations: 1.027 MB / 0.7782 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008494/0.8515, allocations: 182.1 kB / 0.7784 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.852, allocations: 351.3 kB / 0.7787 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.852, allocations: 0 / 0.7787 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/0.8943, allocations: 19.03 MB / 0.7973 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.8945, allocations: 167.3 kB / 0.7975 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.869, allocations: 3.938 kB / 0.7975 GB, free: 6.379 MB / 0.5417 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)