Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.001698/0.001698, 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.00208/0.00208, allocations: 215.3 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002453/0.002453, allocations: 289 kB / 313.5 MB, free: 2.801 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.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.002797/0.002797, allocations: 101.2 kB / 0.7404 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2113, allocations: 95.38 MB / 0.8335 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.004315/0.2157, allocations: 1.644 MB / 0.8351 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2173, allocations: 0.6103 MB / 0.8357 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.2174, allocations: 3.938 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2175, allocations: 11.88 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.2176, allocations: 19.8 kB / 0.8357 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.218, allocations: 63.86 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2182, allocations: 87.75 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.2184, allocations: 28.2 kB / 0.8359 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.2186, allocations: 43.84 kB / 0.836 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2187, allocations: 47.77 kB / 0.836 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2188, allocations: 8 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2189, allocations: 19.98 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.2189, allocations: 19.92 kB / 0.836 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.219, allocations: 39.75 kB / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2193, allocations: 99.48 kB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2193, allocations: 8 kB / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2193, allocations: 0 / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2193, allocations: 0 / 0.8362 GB, free: 5.836 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007058/0.22, allocations: 333.8 kB / 0.8365 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.22, allocations: 9.344 kB / 0.8365 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.679e-05/0.2201, allocations: 8.125 kB / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.2201, allocations: 34.75 kB / 0.8366 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.2204, allocations: 44.86 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2207, allocations: 138.9 kB / 0.8367 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2207, allocations: 8.125 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2207, allocations: 8 kB / 0.8367 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.221, allocations: 101.6 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.221, allocations: 0 / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.221, allocations: 4 kB / 0.8368 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.221, allocations: 11.88 kB / 0.8369 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.2213, allocations: 95.94 kB / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.2219, allocations: 351.6 kB / 0.8373 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2221, allocations: 62.53 kB / 0.8373 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2222, allocations: 48.95 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.2222, allocations: 4 kB / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2223, allocations: 34.5 kB / 0.8374 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 4.358e-06/0.2223, allocations: 3.984 kB / 0.8374 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004957/0.2228, allocations: 173.4 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2228, allocations: 55.39 kB / 0.8376 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2229, allocations: 134.6 kB / 0.8378 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.223, allocations: 29.7 kB / 0.8378 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.223, allocations: 108.2 kB / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.2231, allocations: 15.86 kB / 0.8379 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.2231, allocations: 21.7 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2233, allocations: 322.8 kB / 0.8383 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2234, allocations: 44.22 kB / 0.8383 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2235, allocations: 39.97 kB / 0.8383 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2237, allocations: 84.81 kB / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2237, allocations: 0 / 0.8384 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002849/0.224, allocations: 141.5 kB / 0.8385 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.224, allocations: 6.031 kB / 0.8386 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.224, allocations: 0 / 0.8386 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.224, allocations: 0 / 0.8386 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2242, allocations: 15.98 kB / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2242, allocations: 0 / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.2242, allocations: 11.98 kB / 0.8386 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.2243, allocations: 4 kB / 0.8386 GB, free: 3.188 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 (6): * Single equations (assignments): 6 * 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 0.0001181/0.2244, allocations: 130.4 kB / 0.8387 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.2244, allocations: 15.84 kB / 0.8387 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.2248, allocations: 138.3 kB / 0.8389 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2248, allocations: 4 kB / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2248, allocations: 0 / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2248, allocations: 0 / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.225, allocations: 180.7 kB / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.225, allocations: 3.938 kB / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.2251, allocations: 23.98 kB / 0.8391 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2251, allocations: 0 / 0.8391 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2251, allocations: 3.984 kB / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2251, allocations: 256 / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2251, allocations: 4 kB / 0.8391 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.2255, allocations: 223.4 kB / 0.8393 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.2255, allocations: 27.75 kB / 0.8393 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2255, allocations: 0 / 0.8393 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.2256, allocations: 8 kB / 0.8393 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.2257, allocations: 7.984 kB / 0.8393 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2257, allocations: 3.984 kB / 0.8393 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.2258, allocations: 105.3 kB / 0.8394 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2258, allocations: 0 / 0.8394 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002442/0.226, allocations: 19.95 kB / 0.8394 GB, free: 2.227 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 (6): * Single equations (assignments): 6 * 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.0006794/0.2267, allocations: 0.7669 MB / 0.8402 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.227, allocations: 99.92 kB / 0.8403 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.227, allocations: 4 kB / 0.8403 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2271, allocations: 47.97 kB / 0.8403 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2273, allocations: 4 kB / 0.8403 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.2293, allocations: 1.63 MB / 0.8419 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2296, allocations: 0.7041 MB / 0.8426 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.2297, allocations: 11.98 kB / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.2298, allocations: 27.42 kB / 0.8427 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.2298, allocations: 0 / 0.8427 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.2521, allocations: 2.284 MB / 0.8449 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.15, allocations: 0 / 0.8449 GB, free: 12.68 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.466181328054518] Failed to read output from testmodel.py, exit status != 0: 11.319321096001659 11.348788191 11.124537752 Calling exit ...