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.0008614/0.0008614, 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.000968/0.000968, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.8806/0.8806, 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.03495/0.03495, allocations: 12.18 MB / 324.6 MB, free: 6.102 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.0004175/0.0004175, allocations: 31.94 kB / 384.1 MB, free: 10.52 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.502/1.502, allocations: 353.9 MB / 0.7787 GB, free: 4.543 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.001331/0.001331, allocations: 121.1 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1808, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001311/0.1821, allocations: 0.6056 MB / 1.192 GB, free: 6.898 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.1827, allocations: 0.8359 MB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.1827, allocations: 4 kB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.1828, allocations: 3.938 kB / 1.193 GB, free: 6.043 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.1828, allocations: 7.938 kB / 1.193 GB, free: 6.035 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.183, allocations: 3.984 kB / 1.193 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.183, allocations: 23.92 kB / 1.193 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1831, allocations: 4 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1832, allocations: 11.92 kB / 1.193 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1832, allocations: 8 kB / 1.193 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1832, allocations: 7.938 kB / 1.193 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.1833, allocations: 3.984 kB / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1833, allocations: 11.94 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.1833, allocations: 7.984 kB / 1.193 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.477e-05/0.1834, allocations: 24.12 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1834, allocations: 4 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1834, allocations: 0 / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1834, allocations: 0 / 1.193 GB, free: 5.926 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.0003001/0.1837, allocations: 242.4 kB / 1.193 GB, free: 5.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1837, allocations: 12.03 kB / 1.193 GB, free: 5.645 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.1838, allocations: 30.75 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1839, allocations: 20.88 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.1839, allocations: 106.5 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.184, allocations: 384 / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.184, allocations: 4.375 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.184, allocations: 34.25 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.184, allocations: 3.938 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1841, allocations: 3.938 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1841, allocations: 0 / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.1841, allocations: 19.92 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.1842, allocations: 116.8 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.1842, allocations: 30.59 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.1843, allocations: 12.92 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1843, allocations: 0 / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1843, allocations: 34.55 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.1843, allocations: 0 / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.1844, allocations: 57.56 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.1844, allocations: 51.41 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.1845, allocations: 105.8 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.1845, allocations: 29.83 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.1845, allocations: 84.14 kB / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1846, allocations: 3.953 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.1846, allocations: 17.66 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.1846, allocations: 314.8 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.1847, allocations: 8 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.1847, allocations: 8 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.1847, allocations: 16.84 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1847, allocations: 4.062 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.838e-05/0.1848, allocations: 53.61 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1848, allocations: 7.938 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1848, allocations: 0 / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1848, allocations: 4 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.1849, allocations: 256 / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1849, allocations: 0 / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.1849, allocations: 8 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1849, allocations: 0 / 1.195 GB, free: 4.312 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 4.556e-05/0.1849, allocations: 121.9 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-06/0.1849, allocations: 7.891 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.1849, allocations: 3.156 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1849, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1849, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1849, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.434e-05/0.185, allocations: 124.8 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.185, allocations: 0 / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.185, allocations: 4 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.185, allocations: 3.938 kB / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.185, allocations: 0 / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.185, allocations: 4 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.185, allocations: 7.938 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.1851, allocations: 73.05 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.1851, allocations: 4 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.1851, allocations: 7.938 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-06/0.1851, allocations: 0 / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.1851, allocations: 7.969 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1851, allocations: 4 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.1852, allocations: 83.28 kB / 1.195 GB, free: 3.793 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1852, allocations: 4.031 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001129/0.1853, allocations: 0 / 1.195 GB, free: 3.789 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.0002365/0.1855, allocations: 0.6122 MB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.1856, allocations: 19.98 kB / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.1856, allocations: 0 / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.1856, allocations: 4 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.768e-05/0.1857, allocations: 8.156 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.186, allocations: 136.4 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.186, allocations: 59.34 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.889e-05/0.186, allocations: 0 / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.186, allocations: 11.44 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.186, allocations: 4 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1991, allocations: 1.631 MB / 1.197 GB, free: 1.344 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.016/6.216, allocations: 6.125 kB / 1.197 GB, free: 1.34 MB / 0.823 GB " [Timeout remaining time 654] (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: 10.172524010762572] Failed to read output from testmodel.py, exit status != 0: 6.289615117944777 6.296930582 6.111857369 Calling exit ...