Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.0007859/0.0007859, 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.0009328/0.0009328, allocations: 209.7 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.9454/0.9454, 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.7763/0.7763, 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.Edge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",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.001179/0.001179, allocations: 72.48 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5756, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00148/0.5771, allocations: 0.7211 MB / 0.8181 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.5781, allocations: 1.164 MB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.5782, allocations: 4.969 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.5782, allocations: 8.625 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.5783, allocations: 12 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.5787, allocations: 136.9 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.5789, allocations: 116.2 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.579, allocations: 11.31 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.5791, allocations: 55.61 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.5792, allocations: 38.16 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.5792, allocations: 15.12 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.5793, allocations: 22.94 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.5793, allocations: 12.27 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.5794, allocations: 41.67 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.5795, allocations: 108.5 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5796, allocations: 3.344 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5796, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5796, allocations: 0 / 0.8198 GB, free: 15.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005257/0.5801, allocations: 336.4 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5801, allocations: 8.984 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.5802, allocations: 41.89 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.5802, allocations: 14.53 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5803, allocations: 115.4 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5804, allocations: 4.234 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5804, allocations: 8.594 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5805, allocations: 64.81 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5805, allocations: 6.5 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5806, allocations: 0.5625 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5806, allocations: 0 / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5807, allocations: 45.52 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.5812, allocations: 289.4 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.5814, allocations: 52.78 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.5814, allocations: 34.58 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.5814, allocations: 1.531 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.5817, allocations: 91.61 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5817, allocations: 1.125 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003338/0.582, allocations: 141.8 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5821, allocations: 53.97 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.5822, allocations: 120.1 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.5822, allocations: 36.02 kB / 0.8212 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.5823, allocations: 87.97 kB / 0.8213 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.5823, allocations: 23.83 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.5823, allocations: 38.36 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.5824, allocations: 323.6 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5826, allocations: 78.47 kB / 0.8217 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5827, allocations: 120.2 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5829, allocations: 148.7 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5829, allocations: 0 / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.5832, allocations: 245.8 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.5832, allocations: 34.66 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5832, allocations: 0.6094 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5832, allocations: 3.625 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.5833, allocations: 21.91 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.5833, allocations: 2.844 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.5834, allocations: 38.06 kB / 0.8223 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.5834, allocations: 8.609 kB / 0.8223 GB, free: 13.6 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,edge1.y,edge1.u,$PRE.edge1.u,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.871e-05/0.5835, allocations: 126.7 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.5835, allocations: 7.781 kB / 0.8224 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.5835, allocations: 13.62 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5836, allocations: 0 / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5836, allocations: 5.625 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5836, allocations: 0.7031 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.5839, allocations: 340.9 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5839, allocations: 1.125 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.5839, allocations: 16.75 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5839, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.5839, allocations: 3.781 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5839, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5839, allocations: 4.703 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.5841, allocations: 209.3 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.5841, allocations: 6.016 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.5842, allocations: 2.109 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.5842, allocations: 12.36 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.5842, allocations: 8.859 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5842, allocations: 2.625 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.5843, allocations: 93.08 kB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5843, allocations: 0 / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001826/0.5845, allocations: 27.62 kB / 0.8232 GB, free: 12.89 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005385/0.585, allocations: 0.7542 MB / 0.8239 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.5854, allocations: 191.5 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5854, allocations: 1.219 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.5855, allocations: 39.7 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5857, allocations: 17.19 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.5879, allocations: 1.813 MB / 0.8259 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.5879, allocations: 73.06 kB / 0.826 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.588, allocations: 8.938 kB / 0.826 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.588, allocations: 21.62 kB / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.588, allocations: 0 / 0.826 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.6085, allocations: 3.205 MB / 0.8291 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/7.34, allocations: 3.656 kB / 0.8291 GB, free: 9.438 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge_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_Edge.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.320784351788461] Failed to read output from testmodel.py, exit status != 0: 7.420215799938887 7.431801347 6.849984268 Calling exit ...