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.0008566/0.0008566, 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.001127/0.001127, allocations: 217.7 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 0.9816/0.9816, allocations: 230.6 MB / 256 MB, free: 9.816 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.04038/0.04038, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0005276/0.0005276, allocations: 31.89 kB / 384.1 MB, free: 10.68 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.725/1.725, allocations: 353.8 MB / 0.7787 GB, free: 3.074 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.00137/0.00137, allocations: 121.9 kB / 1.06 GB, free: 25 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2351, allocations: 134.9 MB / 1.192 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001426/0.2366, allocations: 0.608 MB / 1.192 GB, free: 7.254 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2377, allocations: 1.168 MB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.2378, allocations: 4 kB / 1.193 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2379, allocations: 11.92 kB / 1.194 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/0.238, allocations: 11.92 kB / 1.194 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2383, allocations: 124.1 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.2386, allocations: 183.7 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2387, allocations: 19.92 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.2388, allocations: 87.81 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2389, allocations: 59.86 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.2389, allocations: 16 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.239, allocations: 35.97 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.239, allocations: 19.92 kB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.2391, allocations: 67.83 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2393, allocations: 191.5 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2393, allocations: 0 / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.406e-06/0.2393, allocations: 0 / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.2393, allocations: 0 / 1.194 GB, free: 5.262 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.0004381/0.2398, allocations: 393.4 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2398, allocations: 8.031 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.2398, allocations: 34.75 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.2399, allocations: 12.89 kB / 1.195 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.2401, allocations: 170.3 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2401, allocations: 4.375 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2401, allocations: 12.38 kB / 1.195 GB, free: 4.562 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2403, allocations: 99.91 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2403, allocations: 11.88 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2404, allocations: 4 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2404, allocations: 3.984 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.2404, allocations: 43.97 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.2408, allocations: 463.9 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.2409, allocations: 61.08 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.2409, allocations: 25.77 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.2409, allocations: 0 / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.2411, allocations: 113 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.2411, allocations: 4 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002858/0.2414, allocations: 133.5 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2414, allocations: 85.09 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.2415, allocations: 141.7 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2415, allocations: 29.7 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2416, allocations: 104 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.2416, allocations: 15.86 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.2416, allocations: 57.62 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.2417, allocations: 322.8 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2418, allocations: 123.9 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.242, allocations: 161 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.2422, allocations: 220.4 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2422, allocations: 0 / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003783/0.2426, allocations: 384.7 kB / 1.197 GB, free: 1.781 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.2426, allocations: 67.39 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2426, allocations: 80 / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2426, allocations: 4 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.2426, allocations: 12.12 kB / 1.197 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2427, allocations: 3.984 kB / 1.197 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.2429, allocations: 67.8 kB / 1.198 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.243, allocations: 15.98 kB / 1.198 GB, free: 1.602 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 8.446e-05/0.243, allocations: 133.8 kB / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2431, allocations: 7.953 kB / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.2431, allocations: 12 kB / 1.198 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2431, allocations: 4.375 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2431, allocations: 0 / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2431, allocations: 3.938 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.823e-05/0.2432, allocations: 152.7 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2432, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.2432, allocations: 3.984 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2432, allocations: 11.92 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2432, allocations: 4 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2432, allocations: 0 / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2432, allocations: 4 kB / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2433, allocations: 133.9 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.2433, allocations: 7.953 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.2433, allocations: 0 / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.2434, allocations: 8 kB / 1.198 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2434, allocations: 15.8 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2434, allocations: 4 kB / 1.198 GB, free: 1.023 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.2434, allocations: 103.3 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2434, allocations: 0 / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001742/0.2436, allocations: 43.88 kB / 1.198 GB, free: 0.8789 MB / 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.0003238/0.2439, allocations: 0.6679 MB / 1.199 GB, free: 184 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2443, allocations: 298.6 kB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2443, allocations: 0 / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.2443, allocations: 39.89 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2445, allocations: 19.92 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2462, allocations: 2.174 MB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2464, allocations: 0.7041 MB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.2465, allocations: 11.98 kB / 1.202 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.2465, allocations: 19.44 kB / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2465, allocations: 0 / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.263, allocations: 3.61 MB / 1.206 GB, free: 9.293 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/6.546, allocations: 5.031 kB / 1.206 GB, free: 9.289 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.0204974738881] Failed to read output from testmodel.py, exit status != 0: 6.622508624568582 6.632924722 6.391643138 Calling exit ...