Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7877/0.7877, allocations: 203.8 MB / 0.5042 GB, free: 10.28 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009721/0.0009721, allocations: 69.48 kB / 0.7183 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5606, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001765/0.5623, allocations: 0.8853 MB / 0.8188 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.5636, allocations: 1.223 MB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.5637, allocations: 2.625 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.5637, allocations: 9.281 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.5638, allocations: 23.8 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.5643, allocations: 142.3 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.5645, allocations: 174.3 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.5647, allocations: 33.2 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.5648, allocations: 73.12 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.5649, allocations: 67.86 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.5649, allocations: 15.22 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.565, allocations: 31.53 kB / 0.8205 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.5651, allocations: 25.78 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.5651, allocations: 65.05 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.5654, allocations: 170 kB / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5654, allocations: 0 / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5654, allocations: 0 / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5654, allocations: 0 / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006179/0.566, allocations: 422.6 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5661, allocations: 6.812 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.5661, allocations: 42.38 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.5661, allocations: 17.06 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.5666, allocations: 187.2 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5666, allocations: 11.97 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.5666, allocations: 10.12 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5668, allocations: 97.47 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.5668, allocations: 0 / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5668, allocations: 8.25 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5669, allocations: 0 / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.567, allocations: 45.67 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.5676, allocations: 365.1 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.5677, allocations: 36.67 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.5677, allocations: 33.27 kB / 0.822 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.5677, allocations: 0 / 0.822 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.568, allocations: 102.5 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.568, allocations: 1.438 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003056/0.5683, allocations: 130 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5683, allocations: 56.52 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5684, allocations: 151.4 kB / 0.8224 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5685, allocations: 28.17 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.5686, allocations: 109.4 kB / 0.8225 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.5686, allocations: 35.09 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.5686, allocations: 47.02 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003874/0.569, allocations: 322.7 kB / 0.8229 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5691, allocations: 47.66 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.5693, allocations: 138.1 kB / 0.8231 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.5695, allocations: 204 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5695, allocations: 0 / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003306/0.5698, allocations: 248.2 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.5699, allocations: 37.95 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5699, allocations: 3.938 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5699, allocations: 3.969 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.57, allocations: 32.06 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.57, allocations: 3.094 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5701, allocations: 47.5 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.5701, allocations: 12.95 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 8.833e-05/0.5702, allocations: 129 kB / 0.8238 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.5702, allocations: 8.547 kB / 0.8238 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.5703, allocations: 12.12 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5703, allocations: 5.406 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5703, allocations: 384 / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5703, allocations: 2.672 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.5707, allocations: 370.1 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5707, allocations: 0 / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.5708, allocations: 17.92 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5708, allocations: 5.062 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5708, allocations: 5.766 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5708, allocations: 5.094 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5708, allocations: 0.6562 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.5711, allocations: 241.3 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.5711, allocations: 16.61 kB / 0.8245 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5711, allocations: 9.984 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.5712, allocations: 10.73 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5712, allocations: 7.109 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5712, allocations: 13.38 kB / 0.8245 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.5713, allocations: 100.8 kB / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5713, allocations: 0 / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000208/0.5715, allocations: 32.5 kB / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006211/0.5721, allocations: 0.7795 MB / 0.8254 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.5725, allocations: 164.3 kB / 0.8255 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5725, allocations: 1.5 kB / 0.8255 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.5726, allocations: 40.08 kB / 0.8256 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.5728, allocations: 22.06 kB / 0.8256 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.575, allocations: 1.964 MB / 0.8275 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5752, allocations: 0.7052 MB / 0.8282 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.5753, allocations: 15.72 kB / 0.8282 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.5754, allocations: 34.22 kB / 0.8283 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.5754, allocations: 0 / 0.8283 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5979, allocations: 3.341 MB / 0.8315 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/7.166, allocations: 7.516 kB / 0.8315 GB, free: 8.629 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.254944655112922] Failed to read output from testmodel.py, exit status != 0: 7.247708241920918 7.259779761 6.692313089 Calling exit ...