Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.001419/0.001419, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001636/0.001636, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00244/0.00244, allocations: 290.5 kB / 313.5 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.216/1.216, allocations: 180.6 MB / 0.5377 GB, free: 13 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002794/0.002794, allocations: 100 kB / 0.7404 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2002, allocations: 95.39 MB / 0.8335 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002776/0.2029, allocations: 1.473 MB / 0.8349 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.2032, allocations: 92.53 kB / 0.835 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.2033, allocations: 4 kB / 0.835 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.2033, allocations: 0 / 0.835 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.2033, allocations: 3.938 kB / 0.835 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2035, allocations: 23.91 kB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.2036, allocations: 31.92 kB / 0.8351 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.2037, allocations: 3.984 kB / 0.8351 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.2037, allocations: 11.94 kB / 0.8351 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.2038, allocations: 11.98 kB / 0.8351 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2038, allocations: 4 kB / 0.8351 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.2039, allocations: 19.92 kB / 0.8351 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.2039, allocations: 3.938 kB / 0.8351 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2039, allocations: 11.94 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.204, allocations: 40.09 kB / 0.8352 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.204, allocations: 0 / 0.8352 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.204, allocations: 4 kB / 0.8352 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2041, allocations: 0 / 0.8352 GB, free: 6.828 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.0004688/0.2045, allocations: 266.3 kB / 0.8355 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2046, allocations: 9.938 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.303e-05/0.2046, allocations: 192 / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.2046, allocations: 34.75 kB / 0.8355 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2048, allocations: 8.922 kB / 0.8355 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2049, allocations: 114.5 kB / 0.8356 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2049, allocations: 8.359 kB / 0.8356 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2049, allocations: 4.375 kB / 0.8356 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2052, allocations: 61.92 kB / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2052, allocations: 0 / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2052, allocations: 0 / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2052, allocations: 0 / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.2054, allocations: 51.94 kB / 0.8357 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.2058, allocations: 232 kB / 0.836 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.206, allocations: 54.48 kB / 0.836 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2061, allocations: 28.89 kB / 0.836 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2061, allocations: 11.98 kB / 0.836 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2062, allocations: 30.56 kB / 0.8361 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2062, allocations: 0 / 0.8361 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0005555/0.2067, allocations: 101.6 kB / 0.8362 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.2068, allocations: 51.41 kB / 0.8362 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.2069, allocations: 110 kB / 0.8363 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2069, allocations: 25.7 kB / 0.8363 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.2069, allocations: 80.14 kB / 0.8364 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.207, allocations: 11.89 kB / 0.8364 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.207, allocations: 21.64 kB / 0.8365 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2071, allocations: 310.8 kB / 0.8368 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2072, allocations: 20.23 kB / 0.8368 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2073, allocations: 31.97 kB / 0.8368 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2075, allocations: 60.69 kB / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2075, allocations: 0 / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002523/0.2078, allocations: 89.66 kB / 0.8369 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2078, allocations: 4 kB / 0.837 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2078, allocations: 0 / 0.837 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2078, allocations: 4 kB / 0.837 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.208, allocations: 11.92 kB / 0.837 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.208, allocations: 3.938 kB / 0.837 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.208, allocations: 11.98 kB / 0.837 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.208, allocations: 0 / 0.837 GB, free: 4.805 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 9.646e-05/0.2081, allocations: 114.5 kB / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2082, allocations: 4 kB / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.2082, allocations: 7.625 kB / 0.8371 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2082, allocations: 0 / 0.8371 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2082, allocations: 0 / 0.8371 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2082, allocations: 0 / 0.8371 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2084, allocations: 140.7 kB / 0.8372 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2084, allocations: 0 / 0.8372 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.2085, allocations: 11.98 kB / 0.8372 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2085, allocations: 0 / 0.8372 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2085, allocations: 7.984 kB / 0.8373 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2085, allocations: 0 / 0.8373 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2085, allocations: 4 kB / 0.8373 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.2088, allocations: 175.4 kB / 0.8374 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.2088, allocations: 7.953 kB / 0.8374 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2088, allocations: 8.016 kB / 0.8374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.2089, allocations: 4 kB / 0.8374 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.209, allocations: 3.984 kB / 0.8374 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.209, allocations: 4 kB / 0.8375 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.209, allocations: 83.28 kB / 0.8375 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.209, allocations: 0 / 0.8375 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002101/0.2092, allocations: 4 kB / 0.8375 GB, free: 4.164 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.0006208/0.2098, allocations: 0.7085 MB / 0.8382 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2101, allocations: 55.88 kB / 0.8383 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2101, allocations: 4.094 kB / 0.8383 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.2102, allocations: 23.98 kB / 0.8383 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2105, allocations: 6.875 kB / 0.8383 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.2111, allocations: 156.9 kB / 0.8385 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2114, allocations: 0.6768 MB / 0.8391 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.2114, allocations: 8 kB / 0.8391 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.2115, allocations: 11.44 kB / 0.8391 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2115, allocations: 0 / 0.8391 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.239, allocations: 1.616 MB / 0.8407 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 8.781 kB / 0.8407 GB, free: 0.9609 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.400371744995937] Failed to read output from testmodel.py, exit status != 0: 11.21943212300539 11.245632249 11.03671427 Calling exit ...