Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.0009808/0.0009808, 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.0009071/0.0009071, allocations: 223.7 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.9539/0.9539, allocations: 230.6 MB / 256 MB, free: 9.793 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.0389/0.0389, allocations: 12.18 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.000514/0.000514, allocations: 31.88 kB / 384.1 MB, free: 10.66 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.762/1.762, allocations: 353.8 MB / 0.7787 GB, free: 20.48 MB / 0.5418 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.Derivative,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative",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.001598/0.001598, allocations: 115.8 kB / 1.06 GB, free: 2.719 MB / 0.7762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5713/0.5729, allocations: 134.9 MB / 1.192 GB, free: 3.246 MB / 0.8074 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001826/0.5747, allocations: 1.064 MB / 1.193 GB, free: 2.18 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.5757, allocations: 1.038 MB / 1.194 GB, free: 1.129 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.5758, allocations: 4 kB / 1.194 GB, free: 1.125 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.5759, allocations: 19.73 kB / 1.194 GB, free: 1.105 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.576, allocations: 23.72 kB / 1.194 GB, free: 1.082 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.5762, allocations: 75.86 kB / 1.194 GB, free: 1.008 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.5764, allocations: 180 kB / 1.194 GB, free: 0.832 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.5765, allocations: 60.45 kB / 1.194 GB, free: 0.7695 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.5766, allocations: 75.77 kB / 1.194 GB, free: 0.6953 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.5767, allocations: 79.61 kB / 1.194 GB, free: 0.6172 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.5767, allocations: 16 kB / 1.194 GB, free: 0.6016 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.5768, allocations: 16 kB / 1.194 GB, free: 0.5859 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.5769, allocations: 43.89 kB / 1.194 GB, free: 0.543 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.5769, allocations: 83.47 kB / 1.195 GB, free: 472 kB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.5771, allocations: 184.9 kB / 1.195 GB, free: 292 kB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5771, allocations: 4 kB / 1.195 GB, free: 288 kB / 0.8074 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5771, allocations: 0 / 1.195 GB, free: 288 kB / 0.8074 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5771, allocations: 3.938 kB / 1.195 GB, free: 284 kB / 0.8074 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005571/0.5777, allocations: 422.4 kB / 1.195 GB, free: 15.83 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5777, allocations: 8.031 kB / 1.195 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.5778, allocations: 58.67 kB / 1.195 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.5778, allocations: 20.83 kB / 1.195 GB, free: 15.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.5781, allocations: 171.9 kB / 1.195 GB, free: 15.54 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5782, allocations: 12.38 kB / 1.195 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.5782, allocations: 16.38 kB / 1.195 GB, free: 15.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.5784, allocations: 154.9 kB / 1.196 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5784, allocations: 0 / 1.196 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5784, allocations: 8 kB / 1.196 GB, free: 15.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.5784, allocations: 4 kB / 1.196 GB, free: 15.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.5786, allocations: 108.5 kB / 1.196 GB, free: 15.24 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.5793, allocations: 0.4992 MB / 1.196 GB, free: 14.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.5795, allocations: 138.7 kB / 1.196 GB, free: 14.55 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.5796, allocations: 84.72 kB / 1.196 GB, free: 14.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.5797, allocations: 4 kB / 1.196 GB, free: 14.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.5798, allocations: 115.3 kB / 1.196 GB, free: 14.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.5798, allocations: 7.938 kB / 1.196 GB, free: 14.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0003741/0.5802, allocations: 223.9 kB / 1.197 GB, free: 14.11 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.5802, allocations: 55.41 kB / 1.197 GB, free: 14.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.5803, allocations: 154.2 kB / 1.197 GB, free: 13.88 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5803, allocations: 37.69 kB / 1.197 GB, free: 13.84 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.5804, allocations: 112.5 kB / 1.197 GB, free: 13.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.5804, allocations: 63.5 kB / 1.197 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5805, allocations: 45.7 kB / 1.197 GB, free: 13.61 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.5806, allocations: 326.8 kB / 1.197 GB, free: 13.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.5807, allocations: 63.83 kB / 1.197 GB, free: 13.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.5808, allocations: 91.48 kB / 1.198 GB, free: 13.13 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.581, allocations: 155.4 kB / 1.198 GB, free: 12.97 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.581, allocations: 0 / 1.198 GB, free: 12.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002645/0.5812, allocations: 215.8 kB / 1.198 GB, free: 12.76 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.5813, allocations: 9.875 kB / 1.198 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.5813, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.5813, allocations: 4.031 kB / 1.198 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.5814, allocations: 39.97 kB / 1.198 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.5814, allocations: 0 / 1.198 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.5815, allocations: 27.88 kB / 1.198 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5815, allocations: 7.938 kB / 1.198 GB, free: 12.67 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.29e-05/0.5816, allocations: 137.7 kB / 1.198 GB, free: 12.53 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.5816, allocations: 11.91 kB / 1.198 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.5819, allocations: 207.9 kB / 1.198 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5819, allocations: 0 / 1.198 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5819, allocations: 0 / 1.198 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5819, allocations: 0 / 1.198 GB, free: 12.31 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.5824, allocations: 0.5531 MB / 1.199 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5824, allocations: 0 / 1.199 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5825, allocations: 35.97 kB / 1.199 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.5825, allocations: 7.938 kB / 1.199 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5825, allocations: 4 kB / 1.199 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5825, allocations: 12.12 kB / 1.199 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5825, allocations: 0 / 1.199 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.5829, allocations: 380.5 kB / 1.199 GB, free: 11.22 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.5829, allocations: 23.83 kB / 1.199 GB, free: 11.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.583, allocations: 11.94 kB / 1.199 GB, free: 11.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.583, allocations: 15.98 kB / 1.199 GB, free: 11.17 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.5831, allocations: 23.95 kB / 1.199 GB, free: 11.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5831, allocations: 8 kB / 1.199 GB, free: 11.14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.5832, allocations: 127.8 kB / 1.2 GB, free: 11.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.5832, allocations: 0 / 1.2 GB, free: 11.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002046/0.5834, allocations: 39.89 kB / 1.2 GB, free: 10.98 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0005761/0.5839, allocations: 0.9142 MB / 1.2 GB, free: 10.03 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.5842, allocations: 159.8 kB / 1.201 GB, free: 9.871 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5842, allocations: 0 / 1.201 GB, free: 9.871 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5843, allocations: 83.83 kB / 1.201 GB, free: 9.789 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5845, allocations: 32.3 kB / 1.201 GB, free: 9.758 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5864, allocations: 2.134 MB / 1.203 GB, free: 7.496 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.5867, allocations: 0.7204 MB / 1.203 GB, free: 6.746 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.571e-05/0.5868, allocations: 21.42 kB / 1.204 GB, free: 6.727 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.5869, allocations: 47.42 kB / 1.204 GB, free: 6.68 MB / 0.823 GB Notification: Performance of SimCode: time 4.81e-07/0.5869, allocations: 0 / 1.204 GB, free: 6.68 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.6065, allocations: 3.836 MB / 1.207 GB, free: 2.996 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.46/7.066, allocations: 6.125 kB / 1.207 GB, free: 2.992 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.268145551905036] Failed to read output from testmodel.py, exit status != 0: 7.142487515695393 7.151056325 6.572201804 Calling exit ...