Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007924/0.0007924, 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.0008042/0.0008042, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.904/0.904, allocations: 230.6 MB / 256 MB, free: 9.648 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.0372/0.0372, allocations: 12.18 MB / 324.6 MB, free: 6.109 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.0005262/0.0005262, 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.598/1.598, allocations: 353.9 MB / 0.7787 GB, free: 4.664 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.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.001455/0.001455, allocations: 118.6 kB / 1.06 GB, free: 24.74 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2425, allocations: 134.9 MB / 1.192 GB, free: 7.555 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001565/0.2441, allocations: 0.6043 MB / 1.192 GB, free: 6.953 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2453, allocations: 1.149 MB / 1.193 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.2454, allocations: 4 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2455, allocations: 3.938 kB / 1.193 GB, free: 5.785 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.2455, allocations: 3.984 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.246, allocations: 128.1 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.2461, allocations: 95.77 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.2462, allocations: 7.922 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.2463, allocations: 39.97 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2464, allocations: 27.89 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2464, allocations: 8 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.2465, allocations: 16 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.2466, allocations: 11.92 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.2466, allocations: 31.97 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.2468, allocations: 87.72 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2468, allocations: 0 / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2468, allocations: 8 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2468, allocations: 0 / 1.194 GB, free: 5.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003915/0.2472, allocations: 303.9 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2472, allocations: 8.031 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.2473, allocations: 38.73 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2473, allocations: 8.938 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2474, allocations: 122.4 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2474, allocations: 4.375 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2475, allocations: 8.375 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.2476, allocations: 50.23 kB / 1.194 GB, free: 4.723 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2476, allocations: 7.938 kB / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.2476, allocations: 0 / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2476, allocations: 0 / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.2476, allocations: 15.94 kB / 1.194 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.2479, allocations: 255.9 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.248, allocations: 18.58 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.248, allocations: 12.91 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.248, allocations: 0 / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2482, allocations: 59.34 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/0.2482, allocations: 3.984 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.000195/0.2484, allocations: 69.62 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2484, allocations: 51.41 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.2485, allocations: 109.8 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2485, allocations: 29.7 kB / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2485, allocations: 88.09 kB / 1.195 GB, free: 3.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.2485, allocations: 11.94 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.2486, allocations: 33.64 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.2487, allocations: 322.8 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.2487, allocations: 57.69 kB / 1.195 GB, free: 3.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.2488, allocations: 84.19 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.2489, allocations: 80.28 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2489, allocations: 0 / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001735/0.2491, allocations: 173 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2491, allocations: 39.27 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2491, allocations: 3.984 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2491, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.2491, allocations: 4 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2491, allocations: 3.938 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2493, allocations: 32 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2493, allocations: 4.312 kB / 1.196 GB, free: 3.004 MB / 0.823 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.192e-05/0.2494, allocations: 125.8 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.2494, allocations: 3.953 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.2494, allocations: 4 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2494, allocations: 4 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2494, allocations: 4 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2494, allocations: 0 / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.223e-05/0.2495, allocations: 136.7 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2495, allocations: 4 kB / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-06/0.2495, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2495, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2495, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2495, allocations: 7.984 kB / 1.196 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2495, allocations: 0 / 1.196 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.392e-05/0.2496, allocations: 81 kB / 1.196 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.2496, allocations: 4 kB / 1.196 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.2496, allocations: 3.938 kB / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.2496, allocations: 0 / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.2496, allocations: 7.984 kB / 1.196 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2496, allocations: 4 kB / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.2497, allocations: 83.28 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2497, allocations: 0 / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001451/0.2498, allocations: 19.95 kB / 1.196 GB, free: 2.441 MB / 0.823 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.0004614/0.2503, allocations: 0.6165 MB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.2505, allocations: 145 kB / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2505, allocations: 0 / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.2505, allocations: 8.031 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2507, allocations: 20.17 kB / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2517, allocations: 1.497 MB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.2518, allocations: 67.28 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.2518, allocations: 4.25 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.2518, allocations: 11.44 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2518, allocations: 0 / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2697, allocations: 2.611 MB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/6.829, allocations: 12.11 kB / 1.201 GB, free: 13.42 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.021691074594855] Failed to read output from testmodel.py, exit status != 0: 6.907882819883525 6.918862256 6.670162798 Calling exit ...