Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.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.0007843/0.0007843, 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.0008231/0.0008231, allocations: 217.7 kB / 22.26 MB, free: 3.699 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.9575/0.9575, allocations: 230.6 MB / 256 MB, free: 9.785 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.03832/0.03832, allocations: 12.17 MB / 324.6 MB, free: 6.27 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.0004556/0.0004556, allocations: 31.94 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.742/1.742, allocations: 353.8 MB / 0.7787 GB, free: 3.059 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.Nor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor",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.001499/0.001499, allocations: 130.3 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 134.9 MB / 1.192 GB, free: 7.84 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001412/0.2416, allocations: 0.6467 MB / 1.192 GB, free: 7.195 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2428, allocations: 1.246 MB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.2429, allocations: 0 / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.2429, allocations: 7.938 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.243, allocations: 3.938 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2434, allocations: 222.5 kB / 1.194 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.2437, allocations: 171.7 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2438, allocations: 15.98 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.2438, allocations: 67.84 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2439, allocations: 67.78 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.244, allocations: 16 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.244, allocations: 27.98 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.244, allocations: 7.984 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.2441, allocations: 55.83 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2443, allocations: 151.9 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2443, allocations: 3.938 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2443, allocations: 0 / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.2443, allocations: 0 / 1.194 GB, free: 5.141 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.0004845/0.2448, allocations: 369.5 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2448, allocations: 8.031 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.2448, allocations: 38.75 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.2449, allocations: 12.89 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.245, allocations: 114.4 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.245, allocations: 8.375 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.245, allocations: 8.375 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.2451, allocations: 46.25 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2451, allocations: 7.938 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2451, allocations: 0 / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2451, allocations: 7.984 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.2451, allocations: 12 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.2457, allocations: 323.8 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.2458, allocations: 26.58 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.2458, allocations: 20.94 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2458, allocations: 4 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.246, allocations: 75.38 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.246, allocations: 0 / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002627/0.2462, allocations: 105.5 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2463, allocations: 55.41 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.2463, allocations: 129.7 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2464, allocations: 29.7 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.2464, allocations: 92.14 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.2464, allocations: 15.91 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.2465, allocations: 53.67 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.2466, allocations: 318.8 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.2466, allocations: 55.97 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2467, allocations: 96.19 kB / 1.196 GB, free: 2.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.2469, allocations: 163.6 kB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2469, allocations: 4 kB / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002754/0.2472, allocations: 260.9 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.2473, allocations: 71.45 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.2473, allocations: 4 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2473, allocations: 4 kB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.2473, allocations: 4.047 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2473, allocations: 8 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2475, allocations: 51.94 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.2475, allocations: 11.98 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.812e-05/0.2476, allocations: 129.7 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.2476, allocations: 7.953 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.2476, allocations: 8.844 kB / 1.197 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2476, allocations: 4 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2476, allocations: 0 / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2476, allocations: 0 / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.2477, allocations: 152.6 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2477, allocations: 3.938 kB / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-06/0.2477, allocations: 0 / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2477, allocations: 4 kB / 1.197 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.2478, allocations: 4 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2478, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2478, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2479, allocations: 124.9 kB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.2479, allocations: 3.953 kB / 1.197 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2479, allocations: 7.984 kB / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.2479, allocations: 4 kB / 1.197 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.2479, allocations: 7.984 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2479, allocations: 4 kB / 1.197 GB, free: 1.77 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.248, allocations: 87.28 kB / 1.197 GB, free: 1.684 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.248, allocations: 0 / 1.197 GB, free: 1.684 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001839/0.2481, allocations: 35.98 kB / 1.197 GB, free: 1.648 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003102/0.2485, allocations: 0.6436 MB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.2487, allocations: 214.7 kB / 1.198 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.2487, allocations: 23.98 kB / 1.198 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.2489, allocations: 12.61 kB / 1.198 GB, free: 0.707 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2503, allocations: 1.729 MB / 1.2 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2505, allocations: 0.6933 MB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.2505, allocations: 8 kB / 1.201 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.2505, allocations: 19.44 kB / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of SimCode: time 4.6e-07/0.2505, allocations: 0 / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.2688, allocations: 3.03 MB / 1.204 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.396/6.665, allocations: 10.22 kB / 1.204 GB, free: 11.23 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Nor.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.105500848963857] Failed to read output from testmodel.py, exit status != 0: 6.743334332481027 6.753731455 6.507747111 Calling exit ...