Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0008167/0.0008167, 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.0009068/0.0009068, allocations: 223.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.9244/0.9244, allocations: 230.6 MB / 256 MB, free: 9.801 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.03916/0.03916, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.0004421/0.0004421, allocations: 23.95 kB / 384.1 MB, free: 10.7 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.682/1.682, allocations: 353.8 MB / 0.7787 GB, free: 3.117 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.Logical.Validation.MultiOr,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001348/0.001348, allocations: 124.1 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2379, allocations: 134.9 MB / 1.192 GB, free: 7.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001467/0.2394, allocations: 0.8317 MB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2407, allocations: 1.523 MB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.2408, allocations: 3.938 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 7.681e-05/0.2409, allocations: 27.73 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.2409, allocations: 39.64 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.2417, allocations: 0.5173 MB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2421, allocations: 471.3 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.2422, allocations: 29.67 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2424, allocations: 191.6 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2425, allocations: 171.6 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.2426, allocations: 40 kB / 1.196 GB, free: 4.051 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.2427, allocations: 52 kB / 1.196 GB, free: 4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.2427, allocations: 51.83 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2428, allocations: 163.5 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.2431, allocations: 411 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.2431, allocations: 0 / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2431, allocations: 3.938 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2431, allocations: 0 / 1.196 GB, free: 3.383 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005082/0.2437, allocations: 0.5684 MB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.2437, allocations: 11.97 kB / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.2437, allocations: 46.73 kB / 1.197 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.2438, allocations: 36.8 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.244, allocations: 202.2 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.244, allocations: 20.38 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.244, allocations: 32.36 kB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.2442, allocations: 157.9 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2442, allocations: 3.938 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2442, allocations: 0 / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2442, allocations: 4 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.2443, allocations: 83.95 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.2449, allocations: 0.6789 MB / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.245, allocations: 86.53 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.2451, allocations: 36.94 kB / 1.198 GB, free: 1.262 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.2451, allocations: 11.88 kB / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.2453, allocations: 159.4 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 8.82e-07/0.2453, allocations: 0 / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0002946/0.2456, allocations: 240.7 kB / 1.198 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2456, allocations: 59.39 kB / 1.199 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.2457, allocations: 194.1 kB / 1.199 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2457, allocations: 37.7 kB / 1.199 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.2458, allocations: 132.6 kB / 1.199 GB, free: 408 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2458, allocations: 39.73 kB / 1.199 GB, free: 368 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2459, allocations: 113.6 kB / 1.199 GB, free: 248 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.246, allocations: 330.8 kB / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2462, allocations: 159.8 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.2465, allocations: 242.1 kB / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.2468, allocations: 403.7 kB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2468, allocations: 0 / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006316/0.2474, allocations: 0.6325 MB / 1.201 GB, free: 14.35 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.2475, allocations: 168.4 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2475, allocations: 4 kB / 1.201 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2475, allocations: 4 kB / 1.201 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.2475, allocations: 11.92 kB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2475, allocations: 4.344 kB / 1.201 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.2479, allocations: 139.7 kB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.2479, allocations: 35.97 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001006/0.248, allocations: 153.8 kB / 1.201 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.248, allocations: 19.84 kB / 1.201 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.2481, allocations: 25.8 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2481, allocations: 0 / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2481, allocations: 0 / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2481, allocations: 0 / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.2485, allocations: 0.4892 MB / 1.202 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2485, allocations: 4 kB / 1.202 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.2485, allocations: 7.984 kB / 1.202 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2485, allocations: 4 kB / 1.202 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2485, allocations: 3.938 kB / 1.202 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2485, allocations: 8.062 kB / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.2485, allocations: 0 / 1.202 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.2487, allocations: 288.4 kB / 1.202 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.2487, allocations: 15.91 kB / 1.202 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2487, allocations: 4 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.2487, allocations: 4 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2488, allocations: 31.94 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2488, allocations: 4 kB / 1.202 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.2488, allocations: 123.2 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2488, allocations: 0 / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0003411/0.2492, allocations: 75.94 kB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004166/0.2496, allocations: 0.8279 MB / 1.203 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.2501, allocations: 0.5515 MB / 1.204 GB, free: 11.17 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2501, allocations: 0.6875 kB / 1.204 GB, free: 11.17 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.2502, allocations: 59.91 kB / 1.204 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.2504, allocations: 51.94 kB / 1.204 GB, free: 11.06 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.2531, allocations: 3.017 MB / 1.207 GB, free: 7.863 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2533, allocations: 0.7281 MB / 1.207 GB, free: 7.109 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.2534, allocations: 21.48 kB / 1.207 GB, free: 7.09 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.2535, allocations: 51.42 kB / 1.207 GB, free: 7.039 MB / 0.8387 GB Notification: Performance of SimCode: time 5.31e-07/0.2535, allocations: 4 kB / 1.207 GB, free: 7.035 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.2713, allocations: 6.608 MB / 1.214 GB, free: 0.6172 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.646, allocations: 2.062 kB / 1.214 GB, free: 0.6172 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.975299267098308] Failed to read output from testmodel.py, exit status != 0: 6.724917441606522 6.73761157 6.492710242 Calling exit ...