Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008253/0.0008253, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000895/0.000895, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9307/0.9307, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03897/0.03897, allocations: 12.19 MB / 324.6 MB, free: 6.113 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007542/0.0007542, allocations: 23.95 kB / 384.1 MB, free: 10.54 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.633/1.633, allocations: 353.9 MB / 0.7787 GB, free: 4.578 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001449/0.001449, allocations: 120.9 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2535, allocations: 134.9 MB / 1.192 GB, free: 7.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001428/0.255, allocations: 0.6064 MB / 1.192 GB, free: 6.953 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2565, allocations: 1.149 MB / 1.193 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.2566, allocations: 4 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2567, allocations: 7.938 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2568, allocations: 15.92 kB / 1.193 GB, free: 5.766 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2572, allocations: 118 kB / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.2575, allocations: 187.7 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2576, allocations: 7.938 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.2577, allocations: 87.81 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.2579, allocations: 79.8 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2579, allocations: 16 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.258, allocations: 31.97 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.258, allocations: 23.98 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.2581, allocations: 63.83 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2584, allocations: 195.5 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2584, allocations: 0 / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2584, allocations: 3.938 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2584, allocations: 0 / 1.194 GB, free: 4.969 MB / 0.823 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.0004684/0.2589, allocations: 381.4 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2589, allocations: 12.03 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.2589, allocations: 34.69 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.259, allocations: 12.89 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.2592, allocations: 170.3 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2592, allocations: 12.38 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2592, allocations: 16.36 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2593, allocations: 99.86 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2593, allocations: 3.938 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2593, allocations: 0 / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2593, allocations: 4 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.2594, allocations: 35.97 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2598, allocations: 440 kB / 1.195 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.2598, allocations: 53.14 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.2599, allocations: 29.77 kB / 1.195 GB, free: 3.531 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2599, allocations: 4 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.26, allocations: 109 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.26, allocations: 0 / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002223/0.2602, allocations: 137.9 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2603, allocations: 81.09 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.2604, allocations: 149.6 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2604, allocations: 33.7 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.2604, allocations: 96.08 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2605, allocations: 19.88 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.2605, allocations: 57.69 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.2606, allocations: 318.8 kB / 1.196 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2608, allocations: 187.3 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2609, allocations: 224.4 kB / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2611, allocations: 224.4 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2611, allocations: 0 / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003976/0.2615, allocations: 456.1 kB / 1.197 GB, free: 1.297 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.2616, allocations: 63.39 kB / 1.197 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2616, allocations: 4 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2616, allocations: 0 / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.2616, allocations: 7.938 kB / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2616, allocations: 4.062 kB / 1.198 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.2619, allocations: 87.92 kB / 1.198 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2619, allocations: 11.98 kB / 1.198 GB, free: 1.109 MB / 0.823 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 9.557e-05/0.262, allocations: 133.8 kB / 1.198 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.262, allocations: 7.953 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.262, allocations: 8 kB / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.262, allocations: 0 / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.262, allocations: 0 / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.262, allocations: 7.922 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.355e-05/0.2621, allocations: 152.7 kB / 1.198 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2621, allocations: 0 / 1.198 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.2621, allocations: 11.94 kB / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2621, allocations: 0 / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2621, allocations: 0 / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2621, allocations: 0 / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2621, allocations: 4 kB / 1.198 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2622, allocations: 133.9 kB / 1.198 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.2622, allocations: 11.89 kB / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.2623, allocations: 0 / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.2623, allocations: 3.984 kB / 1.198 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.2623, allocations: 11.94 kB / 1.198 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2623, allocations: 4 kB / 1.198 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.2623, allocations: 107.2 kB / 1.198 GB, free: 452 kB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2623, allocations: 0 / 1.198 GB, free: 452 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001726/0.2625, allocations: 43.89 kB / 1.198 GB, free: 408 kB / 0.823 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.0003267/0.2628, allocations: 0.6641 MB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.2631, allocations: 366 kB / 1.199 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2631, allocations: 4 kB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.2632, allocations: 36.28 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.2634, allocations: 23.91 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2653, allocations: 2.446 MB / 1.202 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.2654, allocations: 91.06 kB / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.2654, allocations: 7.938 kB / 1.202 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.2654, allocations: 23.42 kB / 1.202 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of SimCode: time 4.21e-07/0.2654, allocations: 7.938 kB / 1.202 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2818, allocations: 4.225 MB / 1.206 GB, free: 8.43 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/6.712, allocations: 6.703 kB / 1.206 GB, free: 8.43 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.028621881268919] Failed to read output from testmodel.py, exit status != 0: 6.789477176964283 6.799167874 6.538969728 Calling exit ...