Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001693/0.001693, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002092/0.002092, allocations: 212.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.319/1.319, allocations: 203.5 MB / 0.5038 GB, free: 4.926 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.002154/0.002154, allocations: 71.89 kB / 0.7183 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7715, allocations: 102 MB / 0.8179 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0023/0.7738, allocations: 0.7224 MB / 0.8186 GB, free: 28.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.7754, allocations: 1.094 MB / 0.8196 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.7754, allocations: 5.812 kB / 0.8196 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.7755, allocations: 5.156 kB / 0.8196 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.7756, allocations: 11.53 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.7759, allocations: 54.8 kB / 0.8197 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.7761, allocations: 73.3 kB / 0.8198 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.7762, allocations: 16.45 kB / 0.8198 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.7763, allocations: 35.3 kB / 0.8198 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.7764, allocations: 32.64 kB / 0.8199 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.7764, allocations: 6.406 kB / 0.8199 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.7765, allocations: 15.48 kB / 0.8199 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.7765, allocations: 17.17 kB / 0.8199 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.7765, allocations: 22.16 kB / 0.8199 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.7767, allocations: 79.81 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7768, allocations: 0.5 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7768, allocations: 0.6562 kB / 0.82 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7768, allocations: 1.031 kB / 0.82 GB, free: 27.64 MB / 0.6387 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.000569/0.7773, allocations: 312.2 kB / 0.8203 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7774, allocations: 10.19 kB / 0.8203 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.7774, allocations: 8.172 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7775, allocations: 121.3 kB / 0.8204 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7775, allocations: 2.719 kB / 0.8204 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.7776, allocations: 10.03 kB / 0.8204 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.7778, allocations: 64.58 kB / 0.8205 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7778, allocations: 4.781 kB / 0.8205 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.7778, allocations: 5.359 kB / 0.8205 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7778, allocations: 2.219 kB / 0.8205 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.778, allocations: 44.86 kB / 0.8206 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.7787, allocations: 250.4 kB / 0.8208 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.7789, allocations: 54.83 kB / 0.8208 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.779, allocations: 30.73 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.779, allocations: 1.562 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.7792, allocations: 83.56 kB / 0.821 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7792, allocations: 0 / 0.821 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004782/0.7797, allocations: 129.8 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.7797, allocations: 54.44 kB / 0.8211 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.7798, allocations: 126.8 kB / 0.8213 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.7798, allocations: 31.33 kB / 0.8213 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.7799, allocations: 96.25 kB / 0.8214 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.7799, allocations: 15.69 kB / 0.8214 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.78, allocations: 27.17 kB / 0.8214 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.78, allocations: 322.6 kB / 0.8217 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7802, allocations: 30.94 kB / 0.8218 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.7803, allocations: 79.72 kB / 0.8218 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.7806, allocations: 114.5 kB / 0.8219 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7806, allocations: 1.25 kB / 0.8219 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003384/0.7809, allocations: 134.6 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7809, allocations: 6.469 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.7809, allocations: 2.422 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.781, allocations: 2.656 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.7811, allocations: 24.53 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7811, allocations: 6.281 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.7812, allocations: 12.66 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.7812, allocations: 4.953 kB / 0.8221 GB, free: 25.89 MB / 0.6387 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 8.56e-05/0.7813, allocations: 128 kB / 0.8222 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.7813, allocations: 7.188 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.7814, allocations: 10.84 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7814, allocations: 1.094 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.7814, allocations: 1.344 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7814, allocations: 4.219 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.7818, allocations: 313.2 kB / 0.8226 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7818, allocations: 0.5 kB / 0.8226 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.7819, allocations: 8.297 kB / 0.8226 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7819, allocations: 0.5312 kB / 0.8226 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.7819, allocations: 1.688 kB / 0.8226 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7819, allocations: 4.469 kB / 0.8226 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7819, allocations: 1.234 kB / 0.8226 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.7822, allocations: 217.6 kB / 0.8228 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.7822, allocations: 7.188 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.7823, allocations: 5.859 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.7823, allocations: 6.422 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.7824, allocations: 5.578 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.7824, allocations: 5.766 kB / 0.8228 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.7824, allocations: 91.77 kB / 0.8229 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7824, allocations: 1.5 kB / 0.8229 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002554/0.7827, allocations: 16.52 kB / 0.8229 GB, free: 25.22 MB / 0.6387 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.0001389/0.7828, allocations: 115.2 kB / 0.823 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.7831, allocations: 74.02 kB / 0.8231 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7831, allocations: 0 / 0.8231 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.7832, allocations: 33.25 kB / 0.8231 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.7835, allocations: 15.83 kB / 0.8232 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.7838, allocations: 160.5 kB / 0.8233 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.7839, allocations: 79.34 kB / 0.8234 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.7839, allocations: 9.953 kB / 0.8234 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.784, allocations: 12.7 kB / 0.8234 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.784, allocations: 0 / 0.8234 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of Templates: time 0.004375/0.7884, allocations: 1.065 MB / 0.8244 GB, free: 24.73 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.089792085811496] Failed to read output from testmodel.py, exit status != 0: 0.7979312222450972 0.812040769 0.032407475000000005 Calling exit ...