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.0009089/0.0009089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009725/0.0009725, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8834/0.8834, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7105/0.7105, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.871e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001443/0.001472, allocations: 0.7153 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002693, allocations: 1.108 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.002739, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.002769, allocations: 7.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.002838, allocations: 11.88 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.003141, allocations: 55.75 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.00324, allocations: 71.77 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003348, allocations: 12.19 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.003432, allocations: 39.89 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.003479, allocations: 27.91 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003496, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.003548, allocations: 19.98 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.00357, allocations: 15.97 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.00361, allocations: 27.92 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.003746, allocations: 91.66 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003748, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.893e-06/0.00375, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003754, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 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.0004112/0.004165, allocations: 302 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.004205, allocations: 8.031 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.004234, allocations: 38.73 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.004264, allocations: 8.891 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.004343, allocations: 109.8 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.004354, allocations: 8.375 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.004366, allocations: 8.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.004502, allocations: 70.16 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.004508, allocations: 192 / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.004516, allocations: 384 / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004522, allocations: 3.938 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.098e-05/0.004613, allocations: 47.95 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.005062, allocations: 283.8 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.005177, allocations: 58.48 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.005228, allocations: 24.97 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.005248, allocations: 4 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.005399, allocations: 79.31 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.005401, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.005662, allocations: 137.6 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.005699, allocations: 59.34 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.005771, allocations: 124.9 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005783, allocations: 25.7 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.005836, allocations: 92.09 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.005858, allocations: 19.89 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.005908, allocations: 25.72 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.005986, allocations: 322.8 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.006055, allocations: 31.97 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.00613, allocations: 69.98 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.006265, allocations: 117.8 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006268, allocations: 0 / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001733/0.006441, allocations: 129.5 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006454, allocations: 4 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.006461, allocations: 4 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006473, allocations: 224 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.006558, allocations: 27.92 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.006563, allocations: 3.984 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.006606, allocations: 11.94 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.006618, allocations: 4 kB / 0.6224 GB, free: 8.965 MB / 0.5886 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 7.425e-05/0.006692, allocations: 126.8 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.006701, allocations: 11.89 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.006735, allocations: 8.438 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.006748, allocations: 7.984 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.006757, allocations: 3.938 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.006762, allocations: 4 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.007082, allocations: 337.5 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.007087, allocations: 7.984 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.007114, allocations: 7.938 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007116, allocations: 0 / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007124, allocations: 4 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007125, allocations: 0 / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.007128, allocations: 3.984 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.007294, allocations: 203.4 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.007303, allocations: 3.953 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.007317, allocations: 7.984 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.007357, allocations: 4 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.007393, allocations: 7.984 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.007401, allocations: 7.938 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.00744, allocations: 91.27 kB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00744, allocations: 0 / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001815/0.007621, allocations: 19.94 kB / 0.6233 GB, free: 8.035 MB / 0.5886 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.0004142/0.008035, allocations: 0.7399 MB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.008205, allocations: 79.81 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.008208, allocations: 4 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.00827, allocations: 40.41 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.008468, allocations: 18.28 kB / 0.6241 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.00968, allocations: 1.521 MB / 0.6256 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.009736, allocations: 75.33 kB / 0.6257 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.009767, allocations: 4 kB / 0.6257 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.009812, allocations: 24.48 kB / 0.6257 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.009813, allocations: 0 / 0.6257 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.02472, allocations: 2.797 MB / 0.6284 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.659, allocations: 7.219 kB / 0.6284 GB, free: 2.738 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.3388936156407] Failed to read output from testmodel.py, exit status != 0: 6.7402910785749555 6.748097553 6.74242529 Calling exit ...