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.0008608/0.0008608, 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.0009436/0.0009436, 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.9648/0.9648, allocations: 230.6 MB / 256 MB, free: 9.602 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.7808/0.7808, 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.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.001241/0.001241, allocations: 68.89 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5769, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001618/0.5786, allocations: 0.7169 MB / 0.8181 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.5798, allocations: 1.177 MB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.5799, allocations: 1.156 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.5799, allocations: 4.453 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.58, allocations: 6.766 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.5804, allocations: 143.5 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.5806, allocations: 119.6 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5807, allocations: 10.97 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.5808, allocations: 44.8 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.5809, allocations: 39.62 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.5809, allocations: 11.03 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.581, allocations: 24.86 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.581, allocations: 12.69 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.5811, allocations: 33.62 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.5813, allocations: 116.6 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5813, allocations: 5.219 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5813, allocations: 0 / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5813, allocations: 0 / 0.8198 GB, free: 15.69 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.0005067/0.5818, allocations: 332.7 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5818, allocations: 13.75 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.5819, allocations: 36.5 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.5819, allocations: 12.05 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.582, allocations: 122.2 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.582, allocations: 9.875 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.582, allocations: 7.312 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5822, allocations: 67.5 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5822, allocations: 3.938 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.5822, allocations: 0.7031 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5822, allocations: 0 / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5823, allocations: 43.28 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.5829, allocations: 288.6 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.583, allocations: 56.78 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.5831, allocations: 33.3 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5831, allocations: 0 / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5833, allocations: 97.33 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.5833, allocations: 0 / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002963/0.5836, allocations: 140 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5837, allocations: 53.78 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.5837, allocations: 122 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5838, allocations: 32.73 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.5838, allocations: 95.11 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.5838, allocations: 20.53 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.5839, allocations: 35.86 kB / 0.8213 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/0.584, allocations: 325.4 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.5841, allocations: 80.58 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.5842, allocations: 124.1 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.5844, allocations: 138.3 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.5844, allocations: 1.438 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002939/0.5847, allocations: 246.6 kB / 0.8222 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.5847, allocations: 40.45 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5847, allocations: 0 / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5847, allocations: 4.938 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.5848, allocations: 11.34 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5848, allocations: 1.984 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.5849, allocations: 30.66 kB / 0.8223 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.585, allocations: 18.78 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 8.834e-05/0.585, allocations: 127.8 kB / 0.8224 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5851, allocations: 7.25 kB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.5851, allocations: 13.66 kB / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5851, allocations: 0 / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5851, allocations: 0 / 0.8225 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5851, allocations: 4.5 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.5855, allocations: 341.8 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5855, allocations: 4.516 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.5855, allocations: 10.59 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5855, allocations: 0.7188 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5855, allocations: 2.969 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5855, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5855, allocations: 0 / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.5857, allocations: 215.3 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.5858, allocations: 7.734 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.5858, allocations: 1.828 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.5858, allocations: 12.02 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.5859, allocations: 13.52 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.5859, allocations: 2 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.5859, allocations: 95.36 kB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5859, allocations: 0 / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001932/0.5861, allocations: 24.91 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.0004534/0.5866, allocations: 0.7393 MB / 0.8239 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.5869, allocations: 191 kB / 0.8241 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5869, allocations: 1.156 kB / 0.8241 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.587, allocations: 44.92 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5872, allocations: 20.27 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.00152/0.5887, allocations: 1.821 MB / 0.8259 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.5888, allocations: 71.94 kB / 0.826 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.5888, allocations: 13.36 kB / 0.826 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.5888, allocations: 21.59 kB / 0.826 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.5888, allocations: 0 / 0.826 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.61, allocations: 3.201 MB / 0.8291 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/7.434, allocations: 8.078 kB / 0.8291 GB, free: 9.43 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.386808247771114] Failed to read output from testmodel.py, exit status != 0: 7.516456806100905 7.533008404 6.949268188 Calling exit ...