Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.00146/0.00146, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001508/0.001508, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.489/1.489, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9732/0.9732, allocations: 150 MB / 460.2 MB, free: 5.648 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003332/0.003332, allocations: 68.45 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2215, allocations: 89.13 MB / 0.7238 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.004356/0.2259, allocations: 1.453 MB / 0.7253 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2281, allocations: 0.8434 MB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.2281, allocations: 0 / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.2282, allocations: 0 / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.2282, allocations: 3.938 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.2291, allocations: 139.5 kB / 0.7262 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2292, allocations: 27.92 kB / 0.7263 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2294, allocations: 4 kB / 0.7263 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.2294, allocations: 19.92 kB / 0.7263 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2295, allocations: 19.95 kB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2296, allocations: 4 kB / 0.7263 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008987/0.2305, allocations: 311.4 kB / 0.7266 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.2305, allocations: 11.92 kB / 0.7266 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.2305, allocations: 11.92 kB / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.2311, allocations: 207.7 kB / 0.7268 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2311, allocations: 0 / 0.7268 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2311, allocations: 3.938 kB / 0.7268 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2311, allocations: 0 / 0.7268 GB, free: 0.9688 MB / 0.5294 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.000974/0.2321, allocations: 375 kB / 0.7272 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.2322, allocations: 8.031 kB / 0.7272 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.548e-05/0.2322, allocations: 4.188 kB / 0.7272 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.2323, allocations: 34.75 kB / 0.7272 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007425/0.233, allocations: 64.84 kB / 0.7273 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2332, allocations: 180.3 kB / 0.7275 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2333, allocations: 384 / 0.7275 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2333, allocations: 384 / 0.7275 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.2338, allocations: 85.56 kB / 0.7275 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2338, allocations: 4 kB / 0.7275 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2338, allocations: 4 kB / 0.7275 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.2338, allocations: 0 / 0.7275 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.2346, allocations: 91.89 kB / 0.7276 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.2355, allocations: 300.8 kB / 0.7279 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.2362, allocations: 94.44 kB / 0.728 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.2366, allocations: 48.88 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2366, allocations: 4 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.2366, allocations: 34.56 kB / 0.7281 GB, free: 15.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.2366, allocations: 0 / 0.7281 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.001279/0.2379, allocations: 169.6 kB / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.238, allocations: 55.34 kB / 0.7283 GB, free: 15.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2381, allocations: 109.8 kB / 0.7284 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2382, allocations: 29.64 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.2382, allocations: 84.14 kB / 0.7285 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2383, allocations: 3.953 kB / 0.7285 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.2383, allocations: 17.75 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2385, allocations: 322.8 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.2388, allocations: 43.95 kB / 0.7289 GB, free: 14.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.2392, allocations: 43.95 kB / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.2399, allocations: 88.83 kB / 0.729 GB, free: 14.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2399, allocations: 0 / 0.729 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008189/0.2407, allocations: 129.5 kB / 0.7291 GB, free: 14.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2407, allocations: 4 kB / 0.7291 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2407, allocations: 0 / 0.7291 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2408, allocations: 4 kB / 0.7291 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.241, allocations: 24 kB / 0.7292 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.241, allocations: 0 / 0.7292 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2413, allocations: 19.92 kB / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.2413, allocations: 3.984 kB / 0.7292 GB, free: 14.3 MB / 0.545 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 0.0001602/0.2414, allocations: 113.8 kB / 0.7293 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.2415, allocations: 7.938 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.2415, allocations: 7.125 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2415, allocations: 0 / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2415, allocations: 0 / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2415, allocations: 0 / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.2419, allocations: 173.6 kB / 0.7295 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2419, allocations: 4 kB / 0.7295 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2421, allocations: 23.97 kB / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2421, allocations: 0 / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2422, allocations: 0 / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2422, allocations: 0 / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2422, allocations: 0 / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.2431, allocations: 227.3 kB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.2431, allocations: 81.11 kB / 0.7298 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.2432, allocations: 0 / 0.7298 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2434, allocations: 20 kB / 0.7298 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.2435, allocations: 4 kB / 0.7298 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2435, allocations: 4.188 kB / 0.7298 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.2436, allocations: 91.27 kB / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2436, allocations: 0 / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004595/0.244, allocations: 12 kB / 0.7299 GB, free: 13.46 MB / 0.545 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.00143/0.2455, allocations: 0.7553 MB / 0.7307 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008292/0.2463, allocations: 103.9 kB / 0.7308 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2463, allocations: 0 / 0.7308 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.2467, allocations: 48.02 kB / 0.7308 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.2472, allocations: 0 / 0.7308 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2484, allocations: 206.9 kB / 0.731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2489, allocations: 0.6768 MB / 0.7317 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.249, allocations: 8 kB / 0.7317 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.249, allocations: 7.438 kB / 0.7317 GB, free: 11.56 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.249, allocations: 0 / 0.7317 GB, free: 11.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2748, allocations: 1.723 MB / 0.7334 GB, free: 9.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.699, allocations: 21.36 kB / 0.7334 GB, free: 9.953 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.578753470035736] Failed to read output from testmodel.py, exit status != 0: 8.828827827994246 8.852227115 8.616386906 Calling exit ...