Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.001928/0.001928, allocations: 110.8 kB / 16.41 MB, free: 6.488 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.002099/0.002099, allocations: 195.7 kB / 19.36 MB, free: 3.73 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.494/1.494, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.12/1.12, allocations: 173.4 MB / 470.6 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 69.27 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2064, allocations: 89.51 MB / 0.7352 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002906/0.2094, allocations: 1.592 MB / 0.7367 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.2103, allocations: 0.5103 MB / 0.7372 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.2104, allocations: 4 kB / 0.7372 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.2106, allocations: 11.88 kB / 0.7373 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.2106, allocations: 19.8 kB / 0.7373 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2109, allocations: 39.89 kB / 0.7373 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.211, allocations: 79.77 kB / 0.7374 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.2112, allocations: 48.36 kB / 0.7374 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.2113, allocations: 39.84 kB / 0.7375 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.2114, allocations: 39.84 kB / 0.7375 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2115, allocations: 4 kB / 0.7375 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.2116, allocations: 15.94 kB / 0.7375 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.2116, allocations: 23.91 kB / 0.7376 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.2117, allocations: 39.73 kB / 0.7376 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2119, allocations: 87.64 kB / 0.7377 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2119, allocations: 4 kB / 0.7377 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2119, allocations: 0 / 0.7377 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2119, allocations: 0 / 0.7377 GB, free: 15.71 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.0006863/0.2126, allocations: 406.9 kB / 0.7381 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.2127, allocations: 12.03 kB / 0.7381 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.2127, allocations: 34.75 kB / 0.7381 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.2128, allocations: 8.891 kB / 0.7381 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.213, allocations: 204 kB / 0.7383 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.213, allocations: 8.375 kB / 0.7383 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.2131, allocations: 8.375 kB / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.2134, allocations: 105.8 kB / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2134, allocations: 0 / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2134, allocations: 8 kB / 0.7384 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2134, allocations: 4 kB / 0.7384 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.2137, allocations: 91.88 kB / 0.7385 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2144, allocations: 384.6 kB / 0.7389 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2146, allocations: 62.55 kB / 0.739 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2147, allocations: 52.89 kB / 0.739 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.2148, allocations: 0 / 0.739 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2148, allocations: 38.56 kB / 0.739 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2148, allocations: 4 kB / 0.739 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000489/0.2153, allocations: 161.5 kB / 0.7392 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2154, allocations: 55.34 kB / 0.7393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2155, allocations: 131.7 kB / 0.7394 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2155, allocations: 33.7 kB / 0.7394 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.2156, allocations: 108.1 kB / 0.7395 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2156, allocations: 19.91 kB / 0.7395 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2157, allocations: 21.7 kB / 0.7396 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2158, allocations: 322.8 kB / 0.7399 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.216, allocations: 39.91 kB / 0.7399 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2161, allocations: 43.91 kB / 0.7399 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.2163, allocations: 92.75 kB / 0.74 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2163, allocations: 0 / 0.74 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002898/0.2166, allocations: 125.6 kB / 0.7402 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2167, allocations: 4 kB / 0.7402 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2167, allocations: 0 / 0.7402 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2167, allocations: 3.938 kB / 0.7402 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2168, allocations: 27.92 kB / 0.7402 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2168, allocations: 0 / 0.7402 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.2169, allocations: 15.88 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.217, allocations: 4 kB / 0.7402 GB, free: 12.89 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 9.598e-05/0.2171, allocations: 117.8 kB / 0.7403 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2171, allocations: 12.39 kB / 0.7403 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.2175, allocations: 146.3 kB / 0.7405 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2175, allocations: 3.938 kB / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2175, allocations: 0 / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2175, allocations: 3.984 kB / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2177, allocations: 205.6 kB / 0.7407 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2178, allocations: 0 / 0.7407 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2179, allocations: 23.92 kB / 0.7407 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2179, allocations: 4 kB / 0.7407 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2179, allocations: 0 / 0.7407 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2179, allocations: 3.938 kB / 0.7407 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2179, allocations: 4 kB / 0.7407 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.2183, allocations: 215.4 kB / 0.7409 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2184, allocations: 85.06 kB / 0.741 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2184, allocations: 7.984 kB / 0.741 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2185, allocations: 7.938 kB / 0.741 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.2186, allocations: 11.98 kB / 0.741 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2186, allocations: 4 kB / 0.741 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.295e-05/0.2187, allocations: 102.1 kB / 0.7411 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2187, allocations: 3.938 kB / 0.7411 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002456/0.2189, allocations: 23.89 kB / 0.7411 GB, free: 11.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 (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.0007449/0.2197, allocations: 0.7593 MB / 0.7419 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.22, allocations: 103.9 kB / 0.742 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.22, allocations: 0 / 0.742 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.2202, allocations: 52.22 kB / 0.742 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2204, allocations: 7.938 kB / 0.742 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2224, allocations: 1.606 MB / 0.7436 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.2227, allocations: 0.7002 MB / 0.7443 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000124/0.2229, allocations: 15.98 kB / 0.7443 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.2229, allocations: 31.42 kB / 0.7443 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2229, allocations: 0 / 0.7443 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2466, allocations: 1.99 MB / 0.7463 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.224, allocations: 11.88 kB / 0.7463 GB, free: 6.492 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.542947079055011] Failed to read output from testmodel.py, exit status != 0: 8.295291568967514 8.619974904 8.404479452 Calling exit ...