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.0008717/0.0008717, 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.001082/0.001082, allocations: 223.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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.809 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.8099/0.8099, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009484/0.0009484, allocations: 74.66 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4721, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001411/0.4736, allocations: 0.7318 MB / 0.8186 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4747, allocations: 1.115 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.4748, allocations: 0 / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.4748, allocations: 12.95 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.4749, allocations: 16.2 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.4752, allocations: 51.44 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4753, allocations: 72.61 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4754, allocations: 19.09 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.4754, allocations: 29.11 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.4755, allocations: 37.3 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4755, allocations: 3.281 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.4756, allocations: 24.42 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.4756, allocations: 20.7 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.4756, allocations: 32.73 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.4758, allocations: 80.14 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4758, allocations: 0.75 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4758, allocations: 0 / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4758, allocations: 0 / 0.8201 GB, free: 15.76 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.0004074/0.4762, allocations: 306.8 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4762, allocations: 9.938 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.4763, allocations: 41.52 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.4763, allocations: 12.78 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.4764, allocations: 118.2 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.4764, allocations: 384 / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.4764, allocations: 10.23 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4765, allocations: 75.2 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4765, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4765, allocations: 2.734 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4765, allocations: 0 / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.4766, allocations: 47.88 kB / 0.8207 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.4771, allocations: 285.9 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4772, allocations: 56.95 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.4772, allocations: 32.94 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4773, allocations: 0 / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4774, allocations: 77.62 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4774, allocations: 0 / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.4777, allocations: 132.2 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4777, allocations: 58.61 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.4778, allocations: 130 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.4778, allocations: 26.95 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.4779, allocations: 90.59 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.4779, allocations: 15.52 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4779, allocations: 30.77 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.478, allocations: 317.4 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.4781, allocations: 35.31 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.4782, allocations: 74.89 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.4783, allocations: 110.2 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4783, allocations: 3.938 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001707/0.4785, allocations: 132.9 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4785, allocations: 5.156 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4785, allocations: 1.906 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4785, allocations: 3.125 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.4786, allocations: 24.88 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4786, allocations: 4.078 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.4786, allocations: 12.08 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4786, allocations: 9.172 kB / 0.8223 GB, free: 13.9 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.715e-05/0.4787, allocations: 122.4 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.4787, allocations: 15.41 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.4787, allocations: 6.969 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4787, allocations: 2.938 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4787, allocations: 3.938 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4787, allocations: 0.6562 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.479, allocations: 349.3 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.479, allocations: 1 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.4791, allocations: 13.03 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4791, allocations: 0 / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.4791, allocations: 4.297 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4791, allocations: 3.938 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4791, allocations: 0 / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.4792, allocations: 202.2 kB / 0.8229 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.4792, allocations: 8.109 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4792, allocations: 4.797 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.4793, allocations: 16.42 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.4793, allocations: 7.125 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4793, allocations: 1.812 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.4794, allocations: 94.06 kB / 0.8231 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4794, allocations: 4 kB / 0.8231 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001691/0.4795, allocations: 16.5 kB / 0.8231 GB, free: 13.18 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.0003786/0.4799, allocations: 0.732 MB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4801, allocations: 77.27 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4801, allocations: 0 / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.4802, allocations: 38.55 kB / 0.8239 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.4804, allocations: 10.62 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4818, allocations: 1.533 MB / 0.8254 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.482, allocations: 0.6866 MB / 0.8261 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.482, allocations: 15.78 kB / 0.8261 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.482, allocations: 22.33 kB / 0.8261 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.482, allocations: 0 / 0.8261 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.4977, allocations: 2.222 MB / 0.8283 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/7.206, allocations: 5.844 kB / 0.8283 GB, free: 9.891 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.18108960497193] Failed to read output from testmodel.py, exit status != 0: 7.284645206993446 7.300083141 6.822058558 Calling exit ...