Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0008362/0.0008362, allocations: 105.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.000896/0.000896, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9856/0.9856, allocations: 230.6 MB / 256 MB, free: 9.605 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.8001/0.8001, allocations: 203.5 MB / 0.5039 GB, free: 10.74 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.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.001038/0.001038, allocations: 70.58 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5543, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001466/0.5558, allocations: 0.6132 MB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.5568, allocations: 1.141 MB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.5569, allocations: 0 / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.557, allocations: 4.703 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.557, allocations: 4.594 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.5576, allocations: 123.7 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.5577, allocations: 94.11 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.5578, allocations: 7.781 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.5579, allocations: 30.5 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.558, allocations: 38.91 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.5581, allocations: 8.5 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.5581, allocations: 21.31 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.5582, allocations: 9.25 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.5583, allocations: 30.94 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.5585, allocations: 88.22 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.5585, allocations: 2.219 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5585, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.5585, allocations: 3.938 kB / 0.8195 GB, free: 15.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005349/0.5591, allocations: 302.5 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5591, allocations: 9.188 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.5591, allocations: 38.98 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.5592, allocations: 8.266 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.5594, allocations: 131.1 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5594, allocations: 2.031 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.5594, allocations: 6.266 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.5595, allocations: 47.86 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5595, allocations: 3.938 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.5595, allocations: 1.688 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5595, allocations: 0.6562 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.5596, allocations: 11.31 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.5599, allocations: 262.7 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.5599, allocations: 21.58 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.56, allocations: 9.516 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.56, allocations: 0 / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.5602, allocations: 66.14 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5602, allocations: 0 / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001966/0.5603, allocations: 71.97 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5604, allocations: 53.89 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.5605, allocations: 111.6 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5605, allocations: 25.7 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.5606, allocations: 85.2 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.5609, allocations: 12.58 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.5609, allocations: 32.52 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.561, allocations: 317.4 kB / 0.8211 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.5611, allocations: 59.52 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.5612, allocations: 77.38 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.5613, allocations: 84.52 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5613, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001993/0.5615, allocations: 180.5 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5615, allocations: 41.05 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5615, allocations: 7.531 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5615, allocations: 0 / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.916e-05/0.5615, allocations: 4.438 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5615, allocations: 3.938 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.5617, allocations: 22.77 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5617, allocations: 6.438 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.056e-05/0.5618, allocations: 121 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.5618, allocations: 1 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.5618, allocations: 10.02 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5618, allocations: 1.5 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5618, allocations: 0.7969 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5619, allocations: 0 / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.773e-05/0.5619, allocations: 137.1 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.562, allocations: 1.156 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-06/0.562, allocations: 0.6562 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.562, allocations: 1.188 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.562, allocations: 1.797 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.562, allocations: 0.6094 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.562, allocations: 320 / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.925e-05/0.5621, allocations: 97.5 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.5621, allocations: 2.484 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5621, allocations: 6.219 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.5621, allocations: 0.6562 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.5621, allocations: 3.719 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5621, allocations: 0 / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.5622, allocations: 86.61 kB / 0.822 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5622, allocations: 0 / 0.822 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001565/0.5623, allocations: 19.72 kB / 0.822 GB, free: 13.47 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003427/0.5627, allocations: 0.6263 MB / 0.8226 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.5629, allocations: 138.9 kB / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5629, allocations: 0 / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.5629, allocations: 10.08 kB / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5631, allocations: 13.38 kB / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.5644, allocations: 1.501 MB / 0.8243 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.5644, allocations: 66.2 kB / 0.8243 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.5644, allocations: 4.938 kB / 0.8243 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.5645, allocations: 16.89 kB / 0.8243 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.5645, allocations: 0 / 0.8243 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.5855, allocations: 2.595 MB / 0.8269 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.452, allocations: 4.016 kB / 0.8269 GB, free: 10.34 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.474855056963861] Failed to read output from testmodel.py, exit status != 0: 7.529545850120485 7.549762942 6.987091165 Calling exit ...