Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.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.0008184/0.0008184, 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.00099/0.00099, 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 1/1, allocations: 230.6 MB / 256 MB, free: 9.82 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.03808/0.03808, allocations: 12.19 MB / 324.6 MB, free: 6.277 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.0003999/0.0003999, 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.688/1.688, allocations: 353.8 MB / 0.7787 GB, free: 3.098 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.Sort,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort",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.00137/0.00137, allocations: 116.5 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2238, allocations: 134.9 MB / 1.192 GB, free: 7.848 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001524/0.2254, allocations: 0.8403 MB / 1.193 GB, free: 7.008 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2266, allocations: 1.046 MB / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2267, allocations: 0 / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.755e-05/0.2268, allocations: 19.86 kB / 1.194 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.2269, allocations: 15.8 kB / 1.194 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2272, allocations: 103.8 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2274, allocations: 127.6 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2275, allocations: 33.27 kB / 1.194 GB, free: 5.652 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.2276, allocations: 51.84 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.2277, allocations: 63.75 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2277, allocations: 12 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2278, allocations: 95.84 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.2278, allocations: 39.84 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.2279, allocations: 63.59 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2281, allocations: 211.3 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2281, allocations: 4 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2281, allocations: 0 / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2281, allocations: 0 / 1.194 GB, free: 5.121 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004795/0.2286, allocations: 425.4 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2287, allocations: 8.031 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2287, allocations: 50.73 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.2287, allocations: 20.8 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2288, allocations: 155.4 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2289, allocations: 4.375 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2289, allocations: 8.375 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2292, allocations: 202.1 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2292, allocations: 7.938 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2292, allocations: 7.984 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2292, allocations: 0 / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.2295, allocations: 227.6 kB / 1.196 GB, free: 3.957 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.2301, allocations: 0.4952 MB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2303, allocations: 154.4 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2305, allocations: 140.7 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2305, allocations: 8 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.2306, allocations: 30.56 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.052e-06/0.2306, allocations: 0 / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0007421/0.2313, allocations: 480.7 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.2314, allocations: 63.28 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.2314, allocations: 149.5 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2315, allocations: 33.7 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.2315, allocations: 112.5 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.2315, allocations: 72.75 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.2316, allocations: 29.7 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.2317, allocations: 330.8 kB / 1.198 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2318, allocations: 131.9 kB / 1.198 GB, free: 1.652 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.232, allocations: 127.9 kB / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.2324, allocations: 306.8 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2324, allocations: 3.938 kB / 1.198 GB, free: 1.223 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004219/0.2328, allocations: 330.2 kB / 1.198 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.2329, allocations: 10.02 kB / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.2329, allocations: 4 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2329, allocations: 0 / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.233, allocations: 43.89 kB / 1.198 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.233, allocations: 4 kB / 1.198 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.2331, allocations: 35.84 kB / 1.198 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2331, allocations: 4 kB / 1.198 GB, free: 0.7969 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: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.721e-05/0.2332, allocations: 135 kB / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2333, allocations: 11.91 kB / 1.199 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2337, allocations: 370.4 kB / 1.199 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2337, allocations: 7.938 kB / 1.199 GB, free: 276 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2337, allocations: 4 kB / 1.199 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2337, allocations: 0 / 1.199 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.234, allocations: 240.5 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.234, allocations: 0 / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.234, allocations: 35.95 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.234, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2341, allocations: 4 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2341, allocations: 3.938 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2341, allocations: 8 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.2345, allocations: 439.2 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2345, allocations: 27.72 kB / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2345, allocations: 0 / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.2346, allocations: 31.89 kB / 1.2 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.2347, allocations: 11.98 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2347, allocations: 4 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.2348, allocations: 115.1 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2348, allocations: 4 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001838/0.2349, allocations: 39.94 kB / 1.2 GB, free: 15.26 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: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * 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: 2 * 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.0006935/0.2356, allocations: 0.9855 MB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.2362, allocations: 363.1 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2362, allocations: 0 / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2364, allocations: 227.2 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2366, allocations: 23.86 kB / 1.201 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2386, allocations: 2.34 MB / 1.204 GB, free: 11.2 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2389, allocations: 0.7314 MB / 1.204 GB, free: 10.44 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.54e-05/0.2389, allocations: 19.97 kB / 1.204 GB, free: 10.42 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.239, allocations: 43.42 kB / 1.205 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.239, allocations: 0 / 1.205 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.2601, allocations: 4.174 MB / 1.209 GB, free: 6.352 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.694, allocations: 16.06 kB / 1.209 GB, free: 6.344 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.056546716019511] Failed to read output from testmodel.py, exit status != 0: 6.770270556211472 6.778709653 6.548759212 Calling exit ...