Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 280.3 kB / 303 MB, free: 3.578 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 180.9 MB / 0.5261 GB, free: 2.785 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 103.8 kB / 0.7248 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5511, allocations: 94.15 MB / 0.8167 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002259/0.5534, allocations: 1.452 MB / 0.8181 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.554, allocations: 347.4 kB / 0.8185 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.554, allocations: 0 / 0.8185 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.554, allocations: 3.938 kB / 0.8185 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.554, allocations: 1.344 kB / 0.8185 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.5544, allocations: 104 kB / 0.8186 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.5545, allocations: 24.16 kB / 0.8186 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.5546, allocations: 6.031 kB / 0.8186 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.5546, allocations: 10.22 kB / 0.8186 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.5546, allocations: 15 kB / 0.8186 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.5547, allocations: 1.969 kB / 0.8186 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.5548, allocations: 131.3 kB / 0.8188 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.5549, allocations: 5.047 kB / 0.8188 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.5549, allocations: 10.38 kB / 0.8188 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.555, allocations: 82.64 kB / 0.8188 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.555, allocations: 0.7812 kB / 0.8188 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5551, allocations: 0 / 0.8188 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.5551, allocations: 1.219 kB / 0.8189 GB, free: 5.762 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003585/0.5554, allocations: 359.8 kB / 0.8192 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5555, allocations: 8.938 kB / 0.8192 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.5555, allocations: 35.44 kB / 0.8192 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.5555, allocations: 2.812 kB / 0.8192 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.5556, allocations: 168.6 kB / 0.8194 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5556, allocations: 1.312 kB / 0.8194 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.5556, allocations: 1.312 kB / 0.8194 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.5557, allocations: 48.2 kB / 0.8194 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5558, allocations: 4.875 kB / 0.8195 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5558, allocations: 4 kB / 0.8195 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5558, allocations: 0.8438 kB / 0.8195 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.5559, allocations: 32.41 kB / 0.8195 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.5561, allocations: 251.5 kB / 0.8197 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.5563, allocations: 41.88 kB / 0.8198 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.5563, allocations: 26.47 kB / 0.8198 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.5569, allocations: 456.4 kB / 0.8202 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.5569, allocations: 35.28 kB / 0.8203 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5569, allocations: 0.6562 kB / 0.8203 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003126/0.5572, allocations: 85.09 kB / 0.8203 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.5573, allocations: 52.78 kB / 0.8204 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.5573, allocations: 97.23 kB / 0.8205 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.5573, allocations: 30.52 kB / 0.8205 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.5573, allocations: 85.14 kB / 0.8206 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.5573, allocations: 4.953 kB / 0.8206 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.5574, allocations: 12.41 kB / 0.8206 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.5574, allocations: 319 kB / 0.8209 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.5575, allocations: 12.61 kB / 0.8209 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.5575, allocations: 19.92 kB / 0.8209 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.5577, allocations: 45.19 kB / 0.821 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5577, allocations: 3.938 kB / 0.821 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001632/0.5578, allocations: 66.81 kB / 0.8211 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5579, allocations: 4.969 kB / 0.8211 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5579, allocations: 1.125 kB / 0.8211 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5579, allocations: 0 / 0.8211 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.5579, allocations: 14.02 kB / 0.8211 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.558, allocations: 0 / 0.8211 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.558, allocations: 10.64 kB / 0.8211 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.558, allocations: 0.9688 kB / 0.8211 GB, free: 3.523 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.336e-05/0.558, allocations: 115.9 kB / 0.8212 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.5581, allocations: 4.891 kB / 0.8212 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.5583, allocations: 80.73 kB / 0.8213 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5583, allocations: 1.156 kB / 0.8213 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5583, allocations: 0 / 0.8213 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5583, allocations: 0 / 0.8213 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.5584, allocations: 162 kB / 0.8214 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5584, allocations: 4 kB / 0.8214 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.5584, allocations: 5.969 kB / 0.8214 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5584, allocations: 0 / 0.8214 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5584, allocations: 5.188 kB / 0.8215 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5584, allocations: 0.6562 kB / 0.8215 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5584, allocations: 0 / 0.8215 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.5586, allocations: 163.3 kB / 0.8216 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.5586, allocations: 81.91 kB / 0.8217 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5586, allocations: 3.938 kB / 0.8217 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.5587, allocations: 3.609 kB / 0.8217 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.5588, allocations: 6.578 kB / 0.8217 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5588, allocations: 9.25 kB / 0.8217 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.5588, allocations: 80.94 kB / 0.8218 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5588, allocations: 0 / 0.8218 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002552/0.559, allocations: 29.25 kB / 0.8218 GB, free: 2.82 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0004515/0.5595, allocations: 0.7353 MB / 0.8225 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.5597, allocations: 43 kB / 0.8226 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5597, allocations: 3.938 kB / 0.8226 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.5598, allocations: 18.25 kB / 0.8226 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.56, allocations: 6.219 kB / 0.8226 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.5603, allocations: 144.6 kB / 0.8227 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5607, allocations: 0.6754 MB / 0.8234 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.5607, allocations: 5.406 kB / 0.8234 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.5607, allocations: 8.75 kB / 0.8234 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5607, allocations: 0 / 0.8234 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.5835, allocations: 1.765 MB / 0.8251 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.522, allocations: 17.08 kB / 0.8252 GB, free: 16.84 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.404782883357257] Failed to read output from testmodel.py, exit status != 0: 8.590542864985764 8.617328001 8.056748082 Calling exit ...