Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.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/IDEAS 3.0.0-master/package.mo", uses=false) 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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.0009585/0.0009587, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008749/0.0008751, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 12.56 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004685/0.2235, allocations: 3.656 MB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003536/0.2271, allocations: 1.5 MB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.2278, allocations: 35.81 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.2282, allocations: 122.8 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.2289, allocations: 166.8 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2302, allocations: 0.514 MB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.2315, allocations: 1.054 MB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.2322, allocations: 351.4 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.2328, allocations: 334 kB / 0.595 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.2332, allocations: 333.8 kB / 0.5953 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.2333, allocations: 24 kB / 0.5953 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.2334, allocations: 28 kB / 0.5954 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.2335, allocations: 139.2 kB / 0.5955 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2337, allocations: 169.1 kB / 0.5956 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.2345, allocations: 0.8185 MB / 0.5964 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2345, allocations: 0 / 0.5964 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2345, allocations: 0 / 0.5964 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2345, allocations: 0 / 0.5964 GB, free: 9.625 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002227/0.2368, allocations: 1.247 MB / 0.5977 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2368, allocations: 12.03 kB / 0.5977 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.237, allocations: 110.5 kB / 0.5978 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2371, allocations: 122.5 kB / 0.5979 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2384, allocations: 0.6957 MB / 0.5986 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2385, allocations: 83.7 kB / 0.5987 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2386, allocations: 75.89 kB / 0.5987 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2399, allocations: 0.7289 MB / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.2399, allocations: 0 / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/0.24, allocations: 31.94 kB / 0.5995 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.24, allocations: 23.94 kB / 0.5995 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2411, allocations: 0.5243 MB / 0.6 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.2445, allocations: 2.294 MB / 0.6022 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.246, allocations: 0.631 MB / 0.6029 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.2465, allocations: 278.4 kB / 0.6031 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.2465, allocations: 12.5 kB / 0.6031 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006932/0.2472, allocations: 335 kB / 0.6035 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.075e-06/0.2473, allocations: 0 / 0.6035 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001649/0.2489, allocations: 0.7637 MB / 0.6042 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.249, allocations: 85.67 kB / 0.6043 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/0.2499, allocations: 0.7438 MB / 0.605 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.25, allocations: 41.7 kB / 0.6051 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.2503, allocations: 440.5 kB / 0.6055 GB, free: 80 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.405/0.6554, allocations: 200.1 kB / 0.6057 GB, free: 48.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.6555, allocations: 9.375 kB / 0.6057 GB, free: 48.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6556, allocations: 333.1 kB / 0.606 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.6562, allocations: 199.2 kB / 0.6062 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.6567, allocations: 313.5 kB / 0.6065 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.6572, allocations: 233.1 kB / 0.6067 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6572, allocations: 0 / 0.6067 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001316/0.6585, allocations: 0.6666 MB / 0.6074 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.6586, allocations: 159.5 kB / 0.6075 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6586, allocations: 3.234 kB / 0.6075 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.6587, allocations: 6.5 kB / 0.6075 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.6593, allocations: 146.3 kB / 0.6077 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.6593, allocations: 11.73 kB / 0.6077 GB, free: 48.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.6597, allocations: 72.78 kB / 0.6077 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.6598, allocations: 22.12 kB / 0.6078 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.6598, allocations: 3.312 kB / 0.6078 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008873/0.6607, allocations: 0.522 MB / 0.6083 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6607, allocations: 6.453 kB / 0.6083 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-06/0.6607, allocations: 6.156 kB / 0.6083 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.6612, allocations: 142.1 kB / 0.6084 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.6612, allocations: 8.844 kB / 0.6084 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.6616, allocations: 66.86 kB / 0.6085 GB, free: 48.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.6616, allocations: 25.84 kB / 0.6085 GB, free: 48.15 MB / 0.4981 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0003707/0.662, allocations: 289.6 kB / 0.6088 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.6621, allocations: 101.9 kB / 0.6089 GB, free: 47.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.6623, allocations: 101 kB / 0.609 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.6623, allocations: 8.984 kB / 0.609 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6623, allocations: 0 / 0.609 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6623, allocations: 3.281 kB / 0.609 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.6643, allocations: 1.457 MB / 0.6104 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6643, allocations: 1.75 kB / 0.6104 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.6648, allocations: 110.7 kB / 0.6105 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6648, allocations: 3.188 kB / 0.6105 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.6649, allocations: 11.75 kB / 0.6105 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.6649, allocations: 10.69 kB / 0.6105 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6649, allocations: 0 / 0.6105 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.6663, allocations: 0.9746 MB / 0.6115 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6665, allocations: 228.5 kB / 0.6117 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/0.6666, allocations: 13.41 kB / 0.6117 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.667, allocations: 41.58 kB / 0.6118 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.6671, allocations: 40.7 kB / 0.6118 GB, free: 47.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6672, allocations: 19.3 kB / 0.6118 GB, free: 47.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006506/0.6678, allocations: 0.5055 MB / 0.6123 GB, free: 47.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6678, allocations: 0 / 0.6123 GB, free: 47.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00072/0.6685, allocations: 273.6 kB / 0.6126 GB, free: 47.03 MB / 0.4981 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.001742/0.6703, allocations: 1.537 MB / 0.6141 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.6718, allocations: 0.8021 MB / 0.6149 GB, free: 46.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6718, allocations: 4.062 kB / 0.6149 GB, free: 46.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.6723, allocations: 272.4 kB / 0.6151 GB, free: 45.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6734, allocations: 239.5 kB / 0.6154 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.6804, allocations: 5.111 MB / 0.6204 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.6808, allocations: 0.9904 MB / 0.6213 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005181/0.6813, allocations: 118.8 kB / 0.6214 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.6817, allocations: 346.2 kB / 0.6218 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.6817, allocations: 0 / 0.6218 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.7172, allocations: 16.49 MB / 0.6379 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.7174, allocations: 177.4 kB / 0.638 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.016, allocations: 5.031 kB / 0.638 GB, free: 40.82 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: