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.0008405/0.0008405, 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.001058/0.001058, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.812 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.03813/0.03813, allocations: 12.19 MB / 324.6 MB, free: 6.375 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.0005053/0.0005053, allocations: 31.89 kB / 384.1 MB, free: 10.79 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.699/1.699, allocations: 353.8 MB / 0.7787 GB, free: 3.172 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.002111/0.002111, allocations: 117.9 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2394, allocations: 134.9 MB / 1.192 GB, free: 7.945 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001602/0.241, allocations: 0.6075 MB / 1.192 GB, free: 7.34 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2422, allocations: 1.176 MB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.2423, allocations: 0 / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.2423, allocations: 3.938 kB / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.2424, allocations: 4 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2428, allocations: 130 kB / 1.194 GB, free: 6.02 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.243, allocations: 87.81 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.2431, allocations: 11.94 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.2431, allocations: 35.91 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2432, allocations: 35.89 kB / 1.194 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2432, allocations: 8 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.2433, allocations: 19.98 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.2434, allocations: 11.98 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.2434, allocations: 31.92 kB / 1.194 GB, free: 5.781 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2436, allocations: 95.66 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2436, allocations: 0 / 1.194 GB, free: 5.688 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.0004374/0.244, allocations: 307.9 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.244, allocations: 12.03 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.2441, allocations: 34.69 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2441, allocations: 4.938 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2443, allocations: 126.5 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2443, allocations: 8.375 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2443, allocations: 8.359 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.2444, allocations: 42.25 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2444, allocations: 7.922 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.2444, allocations: 0 / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2444, allocations: 4 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.2444, allocations: 8 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.2447, allocations: 279.8 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.2448, allocations: 22.58 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.2448, allocations: 12.84 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.2448, allocations: 0 / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.2449, allocations: 59.41 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2449, allocations: 0 / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002122/0.2451, allocations: 61.62 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2452, allocations: 59.41 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.2452, allocations: 105.8 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2453, allocations: 29.7 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2453, allocations: 92.09 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.2453, allocations: 3.953 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.2453, allocations: 29.7 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.2454, allocations: 322.8 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.2455, allocations: 35.86 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.2455, allocations: 46.81 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.2456, allocations: 88.33 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2456, allocations: 0 / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001633/0.2458, allocations: 143.3 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2458, allocations: 37.69 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2458, allocations: 96 / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.2458, allocations: 4 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.2459, allocations: 3.938 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.2459, allocations: 4 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.246, allocations: 27.91 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2461, allocations: 8 kB / 1.196 GB, free: 3.449 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 6.933e-05/0.2461, allocations: 121.7 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2461, allocations: 7.953 kB / 1.196 GB, free: 3.312 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2462, allocations: 12 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2462, allocations: 0 / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2462, allocations: 0 / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2462, allocations: 0 / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/0.2463, allocations: 136.7 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.2463, allocations: 4 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2463, allocations: 240 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.188e-05/0.2464, allocations: 96.97 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.2464, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.2464, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.2464, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.2464, allocations: 8 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2464, allocations: 0 / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.2464, allocations: 83.27 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2464, allocations: 4 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001497/0.2466, allocations: 23.95 kB / 1.196 GB, free: 2.883 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.0003569/0.2469, allocations: 0.6203 MB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.2471, allocations: 107.3 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2471, allocations: 192 / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.2471, allocations: 15.94 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.2473, allocations: 15.98 kB / 1.197 GB, free: 2.086 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2487, allocations: 1.373 MB / 1.198 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2489, allocations: 0.6807 MB / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.2489, allocations: 8 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.2489, allocations: 11.44 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2489, allocations: 0 / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.2638, allocations: 2.107 MB / 1.201 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.271/6.535, allocations: 5.312 kB / 1.201 GB, free: 13.93 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: 10.943862362764776] Failed to read output from testmodel.py, exit status != 0: 6.610173707827926 6.619061228 6.373823819 Calling exit ...