Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.0007536/0.0007536, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007903/0.0007903, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9181/0.9181, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7061/0.7061, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.BooleanVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.797e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001935/0.001963, allocations: 0.6136 MB / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.003562, allocations: 1.143 MB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.003618, allocations: 0 / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.003712, allocations: 3.938 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.003801, allocations: 11.97 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.004241, allocations: 122.7 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000256/0.004497, allocations: 187.6 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004609, allocations: 19.98 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.004753, allocations: 103.9 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.004937, allocations: 75.91 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.004976, allocations: 12 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.005054, allocations: 27.98 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.00512, allocations: 27.91 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.005226, allocations: 59.89 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.005566, allocations: 235.4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005569, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.005571, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.005577, allocations: 0 / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006261/0.006203, allocations: 377.5 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.006247, allocations: 9.469 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.006282, allocations: 46.67 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.006338, allocations: 12.89 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.006559, allocations: 160.5 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.006578, allocations: 12.38 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.006608, allocations: 8.375 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.006772, allocations: 103.9 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006781, allocations: 192 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006792, allocations: 384 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006798, allocations: 4.125 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.006859, allocations: 43.97 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.007362, allocations: 443.8 kB / 0.6218 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.007444, allocations: 65.12 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.00748, allocations: 29.75 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.007489, allocations: 0 / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.007647, allocations: 113.1 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007648, allocations: 3.938 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002835/0.007932, allocations: 137.5 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.00798, allocations: 81.11 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.008095, allocations: 133.8 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.008125, allocations: 29.7 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.008192, allocations: 104 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.008208, allocations: 11.95 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.008302, allocations: 53.69 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.008394, allocations: 322.8 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.008628, allocations: 195.2 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.008856, allocations: 228.4 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.009227, allocations: 220.4 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.009233, allocations: 0 / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004662/0.009699, allocations: 456.1 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.009741, allocations: 63.41 kB / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009747, allocations: 0 / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.00976, allocations: 4 kB / 0.6239 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.009781, allocations: 11.92 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.009786, allocations: 192 / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.01003, allocations: 67.81 kB / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.01005, allocations: 19.98 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001514/0.0102, allocations: 134.8 kB / 0.6241 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.01021, allocations: 7.953 kB / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.01024, allocations: 15.98 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.01025, allocations: 4 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.01025, allocations: 4 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01026, allocations: 0 / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.01037, allocations: 152.7 kB / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01037, allocations: 384 / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-06/0.01038, allocations: 3.938 kB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01038, allocations: 7.938 kB / 0.6243 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01038, allocations: 4 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01039, allocations: 3.984 kB / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01039, allocations: 0 / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01051, allocations: 133.9 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.01052, allocations: 7.953 kB / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.01053, allocations: 7.984 kB / 0.6245 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.01055, allocations: 3.938 kB / 0.6245 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.01057, allocations: 11.98 kB / 0.6245 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.01057, allocations: 4 kB / 0.6245 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.01062, allocations: 95.27 kB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001671/0.01078, allocations: 47.83 kB / 0.6246 GB, free: 6.539 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0003074/0.01109, allocations: 0.6702 MB / 0.6253 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.01142, allocations: 366 kB / 0.6256 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.01142, allocations: 4 kB / 0.6256 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.01145, allocations: 27.92 kB / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.01162, allocations: 22.16 kB / 0.6257 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.01348, allocations: 2.439 MB / 0.6281 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.01354, allocations: 87.69 kB / 0.6282 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.01356, allocations: 8 kB / 0.6282 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.0136, allocations: 24.48 kB / 0.6282 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.0136, allocations: 0 / 0.6282 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.03104, allocations: 4.343 MB / 0.6324 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.762, allocations: 5.062 kB / 0.6324 GB, free: 14.49 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.439381759613752] Failed to read output from testmodel.py, exit status != 0: 6.844847927801311 6.853796343 6.845634619 Calling exit ...