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.0009073/0.0009073, allocations: 109.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.000976/0.000976, allocations: 218.3 kB / 22.26 MB, free: 3.703 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.789 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.8127/0.8127, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.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: 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.0009072/0.0009072, allocations: 66.67 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4757, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001215/0.4769, allocations: 0.6253 MB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.4777, allocations: 1.162 MB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.4777, allocations: 1.125 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.375e-05/0.4778, allocations: 5.719 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.4779, allocations: 11.52 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.4782, allocations: 127.2 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.4784, allocations: 182.4 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.4785, allocations: 10.53 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.4785, allocations: 85.75 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4787, allocations: 74.22 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.4787, allocations: 17.38 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.194e-05/0.4788, allocations: 30.83 kB / 0.8201 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.4788, allocations: 20.72 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.4789, allocations: 77.47 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.4791, allocations: 192.7 kB / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4791, allocations: 0 / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4791, allocations: 0 / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4791, allocations: 0 / 0.8204 GB, free: 15.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003937/0.4795, allocations: 380.5 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4795, allocations: 9.469 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.4796, allocations: 38.36 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.4796, allocations: 12.94 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4798, allocations: 168.3 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4798, allocations: 15.19 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4798, allocations: 10.03 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4799, allocations: 100 kB / 0.8211 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4799, allocations: 10.41 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.48, allocations: 0.6562 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.48, allocations: 0 / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.48, allocations: 39.56 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.4804, allocations: 474.8 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.4805, allocations: 61.3 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.4805, allocations: 23.84 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.4805, allocations: 1.594 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.4806, allocations: 112.2 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4806, allocations: 0 / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002014/0.4808, allocations: 132.3 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4808, allocations: 79.34 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.4809, allocations: 139 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4809, allocations: 33.67 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.481, allocations: 105.6 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.481, allocations: 11.75 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.4811, allocations: 56.91 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.4811, allocations: 319.6 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4813, allocations: 122.7 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4814, allocations: 163.6 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4816, allocations: 220.5 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4816, allocations: 0.8125 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003829/0.482, allocations: 390.6 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.482, allocations: 63.67 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.482, allocations: 4.969 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.482, allocations: 6.5 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.482, allocations: 7.641 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.482, allocations: 2.016 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4822, allocations: 75.86 kB / 0.8236 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.4823, allocations: 11.64 kB / 0.8237 GB, free: 13.24 MB / 0.6198 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 8.018e-05/0.4823, allocations: 135.2 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.4824, allocations: 9.188 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.4824, allocations: 6.594 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4824, allocations: 5.016 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4824, allocations: 1.156 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4824, allocations: 5.062 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/0.4825, allocations: 160.1 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4825, allocations: 4 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-06/0.4825, allocations: 2.984 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4825, allocations: 5 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4825, allocations: 2.297 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4825, allocations: 1.156 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4825, allocations: 1 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4826, allocations: 135.9 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.4826, allocations: 11.45 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.4826, allocations: 1.859 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.4826, allocations: 2.047 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.4827, allocations: 13.2 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4827, allocations: 3.359 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.4827, allocations: 98.64 kB / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4827, allocations: 0 / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001712/0.4829, allocations: 39.12 kB / 0.8243 GB, free: 12.72 MB / 0.6198 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.000297/0.4832, allocations: 0.6722 MB / 0.8249 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4835, allocations: 296.2 kB / 0.8252 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4835, allocations: 0 / 0.8252 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.4835, allocations: 32.36 kB / 0.8252 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.4837, allocations: 42.48 kB / 0.8253 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4854, allocations: 2.164 MB / 0.8274 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.4856, allocations: 0.6992 MB / 0.8281 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.4856, allocations: 10.53 kB / 0.8281 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.4856, allocations: 28.36 kB / 0.8281 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4856, allocations: 0 / 0.8281 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.5028, allocations: 3.593 MB / 0.8316 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.333, allocations: 19.42 kB / 0.8316 GB, free: 9.07 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.42656346783042] Failed to read output from testmodel.py, exit status != 0: 7.411043723113835 7.427737617 6.945752068 Calling exit ...