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.001084/0.001084, 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.001242/0.001242, allocations: 209.2 kB / 22.24 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.9516/0.9516, 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.8062/0.8062, allocations: 203.5 MB / 0.5039 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 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.001332/0.001332, allocations: 76.55 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5506, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001743/0.5523, allocations: 0.7238 MB / 0.8181 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.5535, allocations: 1.173 MB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.5535, allocations: 1.656 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.5536, allocations: 8.688 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.5536, allocations: 11.61 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.5541, allocations: 133.4 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.5543, allocations: 123.3 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5544, allocations: 13.92 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.5545, allocations: 47.25 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.5546, allocations: 37.91 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.5547, allocations: 10.53 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.5547, allocations: 31.47 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.5547, allocations: 9.891 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.5548, allocations: 42.34 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.555, allocations: 123.3 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.555, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.555, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5551, 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.000602/0.5557, allocations: 342.3 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5557, allocations: 8.594 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.5557, allocations: 35.97 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.5558, allocations: 12.41 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5559, allocations: 121.4 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5559, allocations: 3.984 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.5559, allocations: 12.19 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.5561, allocations: 66.34 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5561, allocations: 3.938 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5561, allocations: 1.578 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5561, allocations: 1.469 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.5562, allocations: 52.34 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.5567, allocations: 285.1 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.5568, allocations: 55.06 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.5569, allocations: 31.08 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.5569, allocations: 0 / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.5571, allocations: 87 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.5571, allocations: 4 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003876/0.5575, allocations: 151.2 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5575, allocations: 52.97 kB / 0.8211 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.5576, allocations: 121.5 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.5577, allocations: 32.41 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.5577, allocations: 93.61 kB / 0.8213 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.5577, allocations: 18.39 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.5578, allocations: 41.98 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5579, allocations: 326.3 kB / 0.8217 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.5582, allocations: 83.89 kB / 0.8218 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5584, allocations: 118.8 kB / 0.8219 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5586, allocations: 139.5 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5586, allocations: 4 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004032/0.559, allocations: 241.8 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.559, allocations: 40 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5591, allocations: 0 / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5591, allocations: 3.062 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.5591, allocations: 14.5 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.5591, allocations: 2.594 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.5593, allocations: 40.67 kB / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.5593, allocations: 10.16 kB / 0.8223 GB, free: 13.57 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 9.648e-05/0.5594, allocations: 122.4 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.5594, allocations: 3.812 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.5594, allocations: 10.86 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5594, allocations: 0 / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5594, allocations: 4.453 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5594, allocations: 0 / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.5599, allocations: 350.4 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5599, allocations: 1.031 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.5599, allocations: 8.594 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5599, allocations: 3.297 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.56, allocations: 3.891 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.56, allocations: 0 / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.56, allocations: 5.25 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.5602, allocations: 215 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.5602, allocations: 7.047 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.5603, allocations: 2.094 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.5603, allocations: 10.97 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.5604, allocations: 17.58 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.5604, allocations: 2.938 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.5604, allocations: 91.02 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5604, allocations: 1.438 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002965/0.5607, allocations: 28.5 kB / 0.8232 GB, free: 12.86 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.0005997/0.5613, allocations: 0.7397 MB / 0.8239 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.5617, allocations: 199.7 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5617, allocations: 0 / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.5618, allocations: 32.19 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5622, allocations: 21.06 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.00244/0.5646, allocations: 1.815 MB / 0.8259 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.5647, allocations: 76.19 kB / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.5648, allocations: 9.578 kB / 0.826 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.5648, allocations: 20.67 kB / 0.826 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5648, allocations: 1.125 kB / 0.826 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.5832, allocations: 3.227 MB / 0.8292 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/7.398, allocations: 6.953 kB / 0.8292 GB, free: 9.41 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.392116836737841] Failed to read output from testmodel.py, exit status != 0: 7.475447935052216 7.489744959 6.931941685 Calling exit ...