Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.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.0008232/0.0008232, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008415/0.0008415, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9293/0.9293, allocations: 230.6 MB / 256 MB, free: 9.621 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.03603/0.03603, allocations: 12.19 MB / 324.6 MB, free: 6.207 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.0004585/0.0004585, allocations: 23.95 kB / 384.1 MB, free: 10.62 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.688/1.688, allocations: 353.9 MB / 0.7787 GB, free: 4.586 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.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch",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.001411/0.001411, allocations: 119.5 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2407, allocations: 134.9 MB / 1.192 GB, free: 7.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001526/0.2423, allocations: 0.744 MB / 1.192 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2434, allocations: 1.277 MB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.2435, allocations: 0 / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.2435, allocations: 15.86 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.2436, allocations: 19.75 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2441, allocations: 262.5 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2443, allocations: 243.7 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2444, allocations: 45.02 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.2445, allocations: 103.8 kB / 1.194 GB, free: 4.855 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2447, allocations: 95.66 kB / 1.194 GB, free: 4.762 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2447, allocations: 24 kB / 1.194 GB, free: 4.738 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.2448, allocations: 36 kB / 1.194 GB, free: 4.703 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.2448, allocations: 39.88 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.2449, allocations: 83.7 kB / 1.195 GB, free: 4.582 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2451, allocations: 251.5 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2451, allocations: 3.938 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2451, allocations: 0 / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2451, allocations: 0 / 1.195 GB, free: 4.332 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005028/0.2456, allocations: 425.2 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2457, allocations: 8.031 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.2457, allocations: 46.73 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.2457, allocations: 20.84 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.2461, allocations: 178.5 kB / 1.195 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2461, allocations: 16.36 kB / 1.195 GB, free: 3.574 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.2462, allocations: 16.38 kB / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.2463, allocations: 140 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2463, allocations: 0 / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2464, allocations: 4 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2464, allocations: 4 kB / 1.196 GB, free: 3.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.2465, allocations: 67.95 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.2471, allocations: 383.5 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2472, allocations: 82.47 kB / 1.196 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.2472, allocations: 32.84 kB / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.2473, allocations: 3.938 kB / 1.196 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2475, allocations: 131.4 kB / 1.196 GB, free: 2.656 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.2475, allocations: 4 kB / 1.196 GB, free: 2.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003278/0.2478, allocations: 243 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2478, allocations: 59.39 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.2479, allocations: 153.7 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2479, allocations: 33.7 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.248, allocations: 104.5 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.248, allocations: 35.78 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.2481, allocations: 77.61 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.2482, allocations: 318.8 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2483, allocations: 131.4 kB / 1.197 GB, free: 1.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2484, allocations: 191 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.2486, allocations: 220.6 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2486, allocations: 0 / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000333/0.2489, allocations: 380 kB / 1.198 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.249, allocations: 67.39 kB / 1.198 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.249, allocations: 0 / 1.198 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.249, allocations: 4 kB / 1.198 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.847e-05/0.249, allocations: 8 kB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.249, allocations: 11.92 kB / 1.198 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2492, allocations: 56.09 kB / 1.198 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2492, allocations: 19.98 kB / 1.198 GB, free: 408 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 9.159e-05/0.2493, allocations: 129.8 kB / 1.198 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.2493, allocations: 19.84 kB / 1.198 GB, free: 248 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2493, allocations: 8.781 kB / 1.198 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2493, allocations: 4 kB / 1.198 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2494, allocations: 0 / 1.198 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2494, allocations: 3.984 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.2497, allocations: 459.5 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2497, allocations: 0 / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.2497, allocations: 4 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2497, allocations: 0 / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2497, allocations: 7.984 kB / 1.199 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.2497, allocations: 3.938 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2497, allocations: 0 / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.2499, allocations: 291.3 kB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.25, allocations: 11.91 kB / 1.199 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.25, allocations: 11.98 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.701e-05/0.25, allocations: 0 / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.2501, allocations: 19.97 kB / 1.199 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2501, allocations: 11.94 kB / 1.199 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.2501, allocations: 101.4 kB / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2501, allocations: 0 / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002068/0.2503, allocations: 51.92 kB / 1.199 GB, free: 15.21 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005033/0.2508, allocations: 0.8311 MB / 1.2 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.2511, allocations: 334.4 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2512, allocations: 0 / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.2512, allocations: 67.83 kB / 1.201 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2515, allocations: 15.98 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2532, allocations: 2.294 MB / 1.203 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.2533, allocations: 102.8 kB / 1.203 GB, free: 11.3 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.2533, allocations: 9.094 kB / 1.203 GB, free: 11.3 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.2533, allocations: 35.42 kB / 1.203 GB, free: 11.26 MB / 0.8387 GB Notification: Performance of SimCode: time 5.91e-07/0.2533, allocations: 0 / 1.203 GB, free: 11.26 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.2709, allocations: 4.392 MB / 1.207 GB, free: 7.031 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.869, allocations: 6.484 kB / 1.207 GB, free: 7.027 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Latch.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.237693447619677] Failed to read output from testmodel.py, exit status != 0: 6.948393268510699 6.95784929 6.710729933 Calling exit ...