Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001828/0.001828, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002124/0.002124, allocations: 213.3 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9755/0.9755, allocations: 149.9 MB / 463.1 MB, free: 10.77 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003005/0.003005, allocations: 65.8 kB / 0.6411 GB, free: 10.24 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2475, allocations: 89.18 MB / 0.7282 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002316/0.2498, allocations: 0.6295 MB / 0.7288 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.2518, allocations: 1.202 MB / 0.73 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.2519, allocations: 4 kB / 0.73 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.252, allocations: 11.92 kB / 0.73 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.252, allocations: 3.938 kB / 0.73 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.2529, allocations: 213.9 kB / 0.7302 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2532, allocations: 179.7 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2533, allocations: 7.984 kB / 0.7304 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2535, allocations: 67.89 kB / 0.7304 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2536, allocations: 59.84 kB / 0.7305 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.2537, allocations: 16 kB / 0.7305 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2538, allocations: 23.98 kB / 0.7305 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.2538, allocations: 8 kB / 0.7305 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.2539, allocations: 59.81 kB / 0.7306 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2542, allocations: 143.9 kB / 0.7307 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.2542, allocations: 3.984 kB / 0.7307 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2542, allocations: 0 / 0.7307 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.2542, allocations: 4 kB / 0.7307 GB, free: 14.5 MB / 0.5606 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.00067/0.2549, allocations: 357.5 kB / 0.7311 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2549, allocations: 8.031 kB / 0.7311 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.255, allocations: 46.73 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.2551, allocations: 4.938 kB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2552, allocations: 118.4 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2552, allocations: 8.375 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2553, allocations: 8.375 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2554, allocations: 57.98 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2554, allocations: 0 / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2554, allocations: 0 / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2554, allocations: 7.938 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.2555, allocations: 12 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.256, allocations: 299.8 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.2561, allocations: 26.58 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.2562, allocations: 20.94 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2562, allocations: 0 / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.2564, allocations: 83.27 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.614e-06/0.2564, allocations: 0 / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002799/0.2567, allocations: 105.6 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.2567, allocations: 55.41 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2569, allocations: 125.8 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.2569, allocations: 29.7 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.257, allocations: 92.14 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.257, allocations: 11.91 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.2571, allocations: 45.69 kB / 0.7322 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.2572, allocations: 326.8 kB / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2574, allocations: 119.4 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2577, allocations: 159.6 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.2579, allocations: 156 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2579, allocations: 4 kB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005038/0.2584, allocations: 332.2 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.2585, allocations: 67.39 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2585, allocations: 4 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2585, allocations: 0 / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.47e-05/0.2585, allocations: 4 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2585, allocations: 0 / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2589, allocations: 63.95 kB / 0.7334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.2589, allocations: 15.97 kB / 0.7334 GB, free: 11.47 MB / 0.5606 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 0.0001351/0.259, allocations: 127 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.259, allocations: 0 / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.2591, allocations: 16.36 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2591, allocations: 0 / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2591, allocations: 0 / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2591, allocations: 0 / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2593, allocations: 144.6 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2593, allocations: 7.938 kB / 0.7337 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.2593, allocations: 3.984 kB / 0.7337 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2593, allocations: 4 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2593, allocations: 0 / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2593, allocations: 0 / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.2593, allocations: 4.062 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2595, allocations: 116.9 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.2595, allocations: 7.953 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2595, allocations: 4 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.2595, allocations: 4 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.2596, allocations: 7.984 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2596, allocations: 4 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.2597, allocations: 95.2 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 0 / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000256/0.2599, allocations: 35.94 kB / 0.7339 GB, free: 10.83 MB / 0.5606 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.0005512/0.2605, allocations: 0.6475 MB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.2609, allocations: 278.1 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2609, allocations: 0 / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.2609, allocations: 20.7 kB / 0.7348 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2612, allocations: 23.3 kB / 0.7349 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.2635, allocations: 1.967 MB / 0.7368 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.2636, allocations: 74.58 kB / 0.7369 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.2636, allocations: 4 kB / 0.7369 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.2637, allocations: 23.44 kB / 0.7369 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2637, allocations: 0 / 0.7369 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.2976, allocations: 3.628 MB / 0.7404 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.35, allocations: 3.984 kB / 0.7404 GB, free: 4.094 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.206174467690289] Failed to read output from testmodel.py, exit status != 0: 11.45614376431331 11.47380612 11.216202281 Calling exit ...