Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008682/0.0008682, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.001212/0.001212, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.967/0.967, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.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.8184/0.8184, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [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.BooleanScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IDEAS_dev_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.0009428/0.0009428, allocations: 67.73 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5289, allocations: 102 MB / 0.8178 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001342/0.5303, allocations: 0.6306 MB / 0.8185 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.5312, allocations: 1.161 MB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.5313, allocations: 0 / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.5314, allocations: 4.688 kB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.145e-05/0.5314, allocations: 5.844 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.5318, allocations: 123.3 kB / 0.8197 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.532, allocations: 91.16 kB / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.532, allocations: 7.266 kB / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.5321, allocations: 39.28 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.5322, allocations: 32.11 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.5322, allocations: 6.469 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.5323, allocations: 22.77 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.5323, allocations: 13.75 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.5324, allocations: 36.69 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.5326, allocations: 86.61 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5326, allocations: 0 / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5326, allocations: 4 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.5326, allocations: 3.938 kB / 0.8201 GB, free: 15.66 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.000397/0.533, allocations: 303.1 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.533, allocations: 11.73 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.533, allocations: 31.73 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.5331, allocations: 8.609 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5332, allocations: 128.8 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5333, allocations: 5.125 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.5333, allocations: 7.703 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.5334, allocations: 46.12 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5334, allocations: 3.938 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5334, allocations: 3.391 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5334, allocations: 0 / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.5334, allocations: 15.52 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.5338, allocations: 274.2 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.5339, allocations: 21.38 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.5339, allocations: 16.73 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.5339, allocations: 0.5625 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.5341, allocations: 57.14 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.5341, allocations: 3.938 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.5342, allocations: 63.41 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5343, allocations: 53.98 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.5344, allocations: 113.5 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5344, allocations: 32.3 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.5344, allocations: 87.33 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.5344, allocations: 10.48 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5345, allocations: 30.34 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.5346, allocations: 317.4 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.5346, allocations: 31.53 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.5347, allocations: 45.72 kB / 0.8217 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/0.5348, allocations: 86.23 kB / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5348, allocations: 0 / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001908/0.535, allocations: 152.7 kB / 0.8219 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.535, allocations: 35.05 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.535, allocations: 1.781 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.535, allocations: 2.625 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.789e-05/0.5351, allocations: 0.9375 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5351, allocations: 4.094 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.5352, allocations: 25.05 kB / 0.822 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5352, allocations: 8.094 kB / 0.822 GB, free: 13.84 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 7.314e-05/0.5353, allocations: 120 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.5353, allocations: 0 / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.5353, allocations: 16.42 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5353, allocations: 0 / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5353, allocations: 4 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5353, allocations: 0.5625 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.866e-05/0.5354, allocations: 135.4 kB / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5354, allocations: 0.7031 kB / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-06/0.5354, allocations: 0 / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5354, allocations: 0 / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.5355, allocations: 4.562 kB / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5355, allocations: 0 / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5355, allocations: 0.6094 kB / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.5355, allocations: 90.59 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.5356, allocations: 2.594 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.5356, allocations: 0.7031 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.5356, allocations: 3.781 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.5356, allocations: 1.266 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5356, allocations: 12.64 kB / 0.8224 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.5356, allocations: 82.3 kB / 0.8225 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5356, allocations: 0 / 0.8225 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001431/0.5358, allocations: 23.36 kB / 0.8225 GB, free: 13.36 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.0003079/0.5361, allocations: 0.6266 MB / 0.8231 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.5363, allocations: 106.1 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5363, allocations: 0 / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.5363, allocations: 10.48 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.5365, allocations: 19.7 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5377, allocations: 1.358 MB / 0.8245 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.5379, allocations: 0.6805 MB / 0.8252 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.538, allocations: 2.703 kB / 0.8252 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.538, allocations: 15.84 kB / 0.8252 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/0.538, allocations: 4 kB / 0.8252 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.5569, allocations: 2.088 MB / 0.8273 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/7.053, allocations: 11.36 kB / 0.8273 GB, free: 10.23 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.01646336284466] Failed to read output from testmodel.py, exit status != 0: 7.131301298039034 7.143521619 6.608871963 Calling exit ...