Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0007994/0.0007994, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008053/0.0008053, allocations: 218.7 kB / 22.25 MB, free: 3.57 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 0.9419/0.9419, allocations: 230.6 MB / 256 MB, free: 9.598 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.7736/0.7736, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.0009429/0.0009429, allocations: 70.23 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4675, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001434/0.4689, allocations: 0.736 MB / 0.8185 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.47, allocations: 1.089 MB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.47, allocations: 1.531 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.4701, allocations: 12.58 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.4701, allocations: 7.375 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.4704, allocations: 51.02 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4706, allocations: 82.78 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4707, allocations: 15.56 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.4707, allocations: 27.75 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.4708, allocations: 33.84 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.4708, allocations: 5.031 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.4709, allocations: 18.17 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.4709, allocations: 18.42 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.4709, allocations: 21.91 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.4711, allocations: 82.22 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4711, allocations: 0 / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4711, allocations: 0 / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4711, allocations: 0 / 0.8199 GB, free: 15.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003991/0.4715, allocations: 308.2 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4715, allocations: 9.891 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.4715, allocations: 40.39 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.4716, allocations: 10.2 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.4716, allocations: 127.1 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4717, allocations: 4.375 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.4717, allocations: 5.625 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.4718, allocations: 68.31 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4718, allocations: 0 / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4718, allocations: 3.875 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4718, allocations: 0.5156 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.4719, allocations: 45.67 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.4724, allocations: 278.3 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.4725, allocations: 60.95 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.4726, allocations: 30.38 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4726, allocations: 0 / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.4727, allocations: 76.47 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.4727, allocations: 0 / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002615/0.473, allocations: 132.8 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.473, allocations: 57.36 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.4731, allocations: 127.3 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4731, allocations: 31.7 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.4732, allocations: 88.06 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.4732, allocations: 12.59 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.4732, allocations: 31.5 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.4733, allocations: 322.8 kB / 0.8217 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.4734, allocations: 33.83 kB / 0.8218 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.4734, allocations: 74.94 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.4736, allocations: 108.8 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4736, allocations: 1.875 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000176/0.4737, allocations: 130.6 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4738, allocations: 5.625 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4738, allocations: 1.156 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4738, allocations: 3.375 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.4739, allocations: 29.08 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4739, allocations: 2.125 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.4739, allocations: 17.09 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4739, allocations: 4.75 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.915e-05/0.474, allocations: 129.4 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.474, allocations: 7.406 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.474, allocations: 10.56 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.474, allocations: 0 / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.474, allocations: 2.047 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4741, allocations: 4 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.4744, allocations: 339.2 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4744, allocations: 0 / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.4744, allocations: 9.109 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4744, allocations: 0.7031 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.4744, allocations: 3.875 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4744, allocations: 4.641 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4744, allocations: 3.938 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4746, allocations: 202.7 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.4746, allocations: 8.984 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.4746, allocations: 3.719 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.4746, allocations: 9.297 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.4746, allocations: 10.41 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4746, allocations: 0 / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.4747, allocations: 103.4 kB / 0.8229 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4747, allocations: 0 / 0.8229 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001657/0.4749, allocations: 14.11 kB / 0.823 GB, free: 13.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003778/0.4752, allocations: 0.7492 MB / 0.8237 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.4754, allocations: 76.11 kB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4754, allocations: 1.406 kB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/0.4755, allocations: 36.38 kB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4756, allocations: 16.62 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4768, allocations: 1.505 MB / 0.8253 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.4768, allocations: 80.62 kB / 0.8254 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.4768, allocations: 13.59 kB / 0.8254 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.4769, allocations: 22.64 kB / 0.8254 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.4769, allocations: 0 / 0.8254 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.4928, allocations: 2.69 MB / 0.828 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.241, allocations: 8.156 kB / 0.828 GB, free: 9.934 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.11459702719003] Failed to read output from testmodel.py, exit status != 0: 7.32031657313928 7.332522516 6.85950185 Calling exit ...