Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0008483/0.0008483, allocations: 101.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.0009598/0.0009598, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9533/0.9533, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7888/0.7888, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Validation.FallingEdge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.001079/0.001079, allocations: 65.95 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5352, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002306/0.5375, allocations: 0.7241 MB / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.5389, allocations: 1.174 MB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.539, allocations: 0 / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.539, allocations: 8.578 kB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.5391, allocations: 8.406 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.5396, allocations: 140.3 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.5398, allocations: 117.6 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5399, allocations: 12.23 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.54, allocations: 53.78 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.5401, allocations: 39.88 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.5402, allocations: 9.25 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.5402, allocations: 23.89 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.5403, allocations: 13.47 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.5403, allocations: 38.61 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.5406, allocations: 120.4 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5406, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5406, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.5406, allocations: 0 / 0.8198 GB, free: 15.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005475/0.5411, allocations: 341.4 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5412, allocations: 9.703 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.5412, allocations: 39.39 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.5412, allocations: 11.5 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.5413, allocations: 117.3 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5413, allocations: 3.438 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.5413, allocations: 13.73 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.5415, allocations: 67.08 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5415, allocations: 3.938 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5415, allocations: 0.6562 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5415, allocations: 1.938 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.5416, allocations: 46.84 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.542, allocations: 296.7 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5422, allocations: 59 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.5422, allocations: 25.25 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.5422, allocations: 5.844 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.5424, allocations: 92.05 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.5424, allocations: 0 / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000292/0.5427, allocations: 144.9 kB / 0.821 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5427, allocations: 56.22 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.5428, allocations: 116.7 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5428, allocations: 37.23 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.5429, allocations: 94.19 kB / 0.8213 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.5429, allocations: 16.05 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.5429, allocations: 39.19 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.543, allocations: 318.7 kB / 0.8217 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.5431, allocations: 84.97 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5433, allocations: 122.8 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.5434, allocations: 141.1 kB / 0.822 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5434, allocations: 1.688 kB / 0.822 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002807/0.5437, allocations: 242.5 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.5437, allocations: 39.59 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5437, allocations: 0 / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5438, allocations: 3.375 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.5438, allocations: 11.98 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5438, allocations: 0.7031 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5439, allocations: 44.89 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.5439, allocations: 15.17 kB / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.032e-05/0.544, allocations: 127.7 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.544, allocations: 3.109 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.5441, allocations: 15.17 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5441, allocations: 0 / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5441, allocations: 2.594 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5441, allocations: 0.5625 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.5444, allocations: 344.2 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5444, allocations: 7.297 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.5444, allocations: 6.781 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5444, allocations: 0 / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5444, allocations: 2.281 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5444, allocations: 3.969 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5444, allocations: 3.938 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.5446, allocations: 207.8 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.5446, allocations: 5.516 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5446, allocations: 11 kB / 0.8231 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.5447, allocations: 9.781 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.5447, allocations: 14.36 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5447, allocations: 1.594 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.5447, allocations: 92.34 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5447, allocations: 0 / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001843/0.5449, allocations: 32.39 kB / 0.8232 GB, free: 12.87 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000389/0.5453, allocations: 0.7425 MB / 0.8239 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.5456, allocations: 196.9 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5456, allocations: 0 / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.5456, allocations: 39.61 kB / 0.8241 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.5458, allocations: 18.08 kB / 0.8242 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5472, allocations: 1.813 MB / 0.8259 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.5473, allocations: 73.39 kB / 0.826 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.5473, allocations: 8.938 kB / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.5474, allocations: 23.23 kB / 0.826 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5474, allocations: 1 kB / 0.826 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.5661, allocations: 3.222 MB / 0.8292 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.445, allocations: 11.94 kB / 0.8292 GB, free: 9.41 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.44844837905839] Failed to read output from testmodel.py, exit status != 0: 7.52370678819716 7.535494477 6.992861563 Calling exit ...