Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.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.0009427/0.0009427, 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.0009127/0.0009127, allocations: 213.8 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.9776/0.9776, allocations: 230.6 MB / 256 MB, free: 9.84 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.03873/0.03873, allocations: 12.19 MB / 324.6 MB, free: 6.383 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.0006276/0.0006276, allocations: 35.69 kB / 384.1 MB, free: 10.8 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.697/1.697, allocations: 353.8 MB / 0.7787 GB, free: 3.172 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.Reals.Validation.Line,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line",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.001428/0.001428, allocations: 120.4 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 134.9 MB / 1.192 GB, free: 7.773 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.001895/0.2325, allocations: 0.8829 MB / 1.193 GB, free: 6.891 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.2335, allocations: 0.9211 MB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2336, allocations: 8 kB / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.2337, allocations: 15.8 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.2337, allocations: 7.875 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2339, allocations: 63.92 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2341, allocations: 143.6 kB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2342, allocations: 53.39 kB / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.2343, allocations: 43.86 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.2344, allocations: 67.67 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2344, allocations: 12 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.2344, allocations: 16 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.2344, allocations: 39.84 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.2345, allocations: 51.67 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2346, allocations: 147.6 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2346, allocations: 0 / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2346, allocations: 0 / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2346, allocations: 0 / 1.194 GB, free: 5.293 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004098/0.235, allocations: 365.8 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2351, allocations: 16.03 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.2351, allocations: 46.73 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2351, allocations: 16.84 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2353, allocations: 162.3 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2354, allocations: 8.375 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2354, allocations: 16.38 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2356, allocations: 150.7 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2356, allocations: 7.938 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2356, allocations: 7.984 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2356, allocations: 4 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.2358, allocations: 131.8 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.2364, allocations: 463.3 kB / 1.196 GB, free: 3.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2366, allocations: 82.47 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.2367, allocations: 36.84 kB / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2367, allocations: 11.97 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2367, allocations: 38.69 kB / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.2368, allocations: 0 / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002717/0.237, allocations: 165.4 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.237, allocations: 55.41 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2372, allocations: 187.6 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2372, allocations: 29.7 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2372, allocations: 108 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2373, allocations: 41.11 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.2373, allocations: 25.72 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2375, allocations: 326.8 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.2376, allocations: 43.97 kB / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.2376, allocations: 39.97 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2377, allocations: 91.06 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2377, allocations: 3.938 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003332/0.2381, allocations: 149.5 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2381, allocations: 8 kB / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2381, allocations: 0 / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2381, allocations: 0 / 1.197 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.2382, allocations: 31.97 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2382, allocations: 0 / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.2383, allocations: 19.84 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2383, allocations: 4 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.05e-05/0.2383, allocations: 133.7 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2384, allocations: 15.91 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.2386, allocations: 142.9 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2386, allocations: 0 / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2386, allocations: 0 / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2386, allocations: 0 / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.239, allocations: 424 kB / 1.198 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.239, allocations: 0 / 1.198 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.2391, allocations: 23.92 kB / 1.198 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2391, allocations: 4 kB / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2391, allocations: 480 / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2391, allocations: 0 / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2391, allocations: 8.094 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2393, allocations: 249.8 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.2393, allocations: 19.83 kB / 1.198 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2393, allocations: 16 kB / 1.198 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.2394, allocations: 11.98 kB / 1.198 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.2394, allocations: 11.92 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2394, allocations: 8 kB / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.2395, allocations: 145.1 kB / 1.198 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2395, allocations: 0 / 1.198 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000155/0.2397, allocations: 24 kB / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004511/0.2401, allocations: 0.7734 MB / 1.199 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2403, allocations: 99.88 kB / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2403, allocations: 0 / 1.199 GB, free: 40 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.2404, allocations: 43.97 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2407, allocations: 19.88 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2422, allocations: 1.89 MB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.2424, allocations: 0.7123 MB / 1.202 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.2424, allocations: 13.08 kB / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.2425, allocations: 43.42 kB / 1.202 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of SimCode: time 7.12e-07/0.2425, allocations: 0 / 1.202 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.2578, allocations: 2.98 MB / 1.205 GB, free: 10.35 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.212/6.47, allocations: 15.25 kB / 1.205 GB, free: 10.34 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.914508234709501] Failed to read output from testmodel.py, exit status != 0: 6.546697759069502 6.555694791 6.319210257 Calling exit ...