Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0007685/0.0007685, 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.0007884/0.0007884, allocations: 217.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.9394/0.9394, allocations: 230.6 MB / 256 MB, free: 9.809 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.03772/0.03772, allocations: 12.17 MB / 324.6 MB, free: 6.266 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.0004597/0.0004597, 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.753/1.753, allocations: 353.8 MB / 0.7787 GB, free: 3.121 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.Sources.Validation.Sin,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.001476/0.001476, allocations: 118.6 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2485, allocations: 134.9 MB / 1.192 GB, free: 7.859 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001374/0.2498, allocations: 0.6074 MB / 1.192 GB, free: 7.258 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2508, allocations: 0.8591 MB / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.2509, allocations: 0 / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.2509, allocations: 0 / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.251, allocations: 3.938 kB / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2512, allocations: 19.91 kB / 1.193 GB, free: 6.363 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.2512, allocations: 15.94 kB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.2513, allocations: 4 kB / 1.193 GB, free: 6.344 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.2514, allocations: 11.98 kB / 1.193 GB, free: 6.332 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2515, allocations: 7.938 kB / 1.193 GB, free: 6.324 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2515, allocations: 4 kB / 1.193 GB, free: 6.32 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.2516, allocations: 4 kB / 1.193 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.2516, allocations: 7.969 kB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.2516, allocations: 7.938 kB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2517, allocations: 20.2 kB / 1.193 GB, free: 6.281 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2517, allocations: 7.938 kB / 1.193 GB, free: 6.273 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2517, allocations: 3.984 kB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2517, allocations: 0 / 1.193 GB, free: 6.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006293/0.2523, allocations: 246.4 kB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2524, allocations: 12.03 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.2524, allocations: 34.69 kB / 1.194 GB, free: 5.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2525, allocations: 16.88 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.2526, allocations: 102.5 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2526, allocations: 8.312 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2527, allocations: 4.375 kB / 1.194 GB, free: 5.789 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2528, allocations: 34.25 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2528, allocations: 3.938 kB / 1.194 GB, free: 5.746 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.2528, allocations: 4 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2528, allocations: 0 / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.2528, allocations: 15.98 kB / 1.194 GB, free: 5.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.253, allocations: 124.8 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.253, allocations: 30.53 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.253, allocations: 16.91 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2531, allocations: 4 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2531, allocations: 30.56 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2531, allocations: 0 / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.2532, allocations: 61.66 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2533, allocations: 55.39 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.2533, allocations: 97.86 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.2533, allocations: 29.7 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.2534, allocations: 80.14 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2534, allocations: 3.953 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.2534, allocations: 13.7 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.2535, allocations: 318.8 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.2535, allocations: 8.031 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.2535, allocations: 7.984 kB / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.2536, allocations: 20.84 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2536, allocations: 0 / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.099e-05/0.2536, allocations: 49.62 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2536, allocations: 17.75 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2536, allocations: 96 / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2537, allocations: 4 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.2537, allocations: 4 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2537, allocations: 0 / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.2537, allocations: 3.984 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2537, allocations: 0 / 1.195 GB, free: 4.641 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 (1): * Single equations (assignments): 1 * 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 5.251e-05/0.2538, allocations: 109.8 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.2538, allocations: 7.891 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.2538, allocations: 3.156 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2538, allocations: 4 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2538, allocations: 4 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2538, allocations: 0 / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.167e-05/0.2539, allocations: 124.8 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2539, allocations: 0 / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.2539, allocations: 3.984 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2539, allocations: 7.875 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2539, allocations: 4 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.2539, allocations: 256 / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2539, allocations: 0 / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.254, allocations: 73.06 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.254, allocations: 11.98 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.254, allocations: 7.938 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.254, allocations: 4 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.254, allocations: 0 / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.254, allocations: 0 / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.254, allocations: 83.27 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.254, allocations: 8.031 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001109/0.2542, allocations: 0 / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.000266/0.2544, allocations: 0.6046 MB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.2545, allocations: 19.95 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2545, allocations: 4 kB / 1.196 GB, free: 3.461 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.2545, allocations: 11.98 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.2546, allocations: 0 / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.255, allocations: 136.5 kB / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2551, allocations: 0.6806 MB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2552, allocations: 4.125 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.2552, allocations: 11.44 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/0.2552, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.2702, allocations: 1.214 MB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/6.87, allocations: 11.47 kB / 1.198 GB, free: 1.457 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.522516786120832] Failed to read output from testmodel.py, exit status != 0: 6.945412413217127 6.955765162 6.70232406 Calling exit ...