Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001437/0.001437, allocations: 109.5 kB / 16.4 MB, free: 6.504 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.001695/0.001694, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.354/1.354, 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.031/1.031, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] 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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 73.45 kB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1897, allocations: 89.52 MB / 0.7353 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003159/0.1929, allocations: 1.51 MB / 0.7367 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1937, allocations: 403.1 kB / 0.7371 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.1938, allocations: 4 kB / 0.7371 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.1938, allocations: 3.938 kB / 0.7371 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.1939, allocations: 15.86 kB / 0.7371 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.1941, allocations: 27.91 kB / 0.7372 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1942, allocations: 51.78 kB / 0.7372 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1943, allocations: 16.12 kB / 0.7372 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.1944, allocations: 23.92 kB / 0.7373 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.1945, allocations: 23.91 kB / 0.7373 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1945, allocations: 0 / 0.7373 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.1946, allocations: 4 kB / 0.7373 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.1946, allocations: 19.92 kB / 0.7373 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1946, allocations: 15.88 kB / 0.7373 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1948, allocations: 43.81 kB / 0.7374 GB, free: 68 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1948, allocations: 0 / 0.7374 GB, free: 68 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1948, allocations: 0 / 0.7374 GB, free: 68 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1948, allocations: 0 / 0.7374 GB, free: 68 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005956/0.1954, allocations: 367.2 kB / 0.7377 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1954, allocations: 8.031 kB / 0.7377 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.1955, allocations: 30.75 kB / 0.7377 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1955, allocations: 12.89 kB / 0.7378 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1957, allocations: 184.2 kB / 0.7379 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1957, allocations: 4.125 kB / 0.7379 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1957, allocations: 4 kB / 0.7379 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1959, allocations: 53.67 kB / 0.738 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1959, allocations: 0 / 0.738 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1959, allocations: 0 / 0.738 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1959, allocations: 0 / 0.738 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1961, allocations: 39.97 kB / 0.738 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1966, allocations: 280.7 kB / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1967, allocations: 38.56 kB / 0.7383 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.1968, allocations: 24.94 kB / 0.7384 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1968, allocations: 0 / 0.7384 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1968, allocations: 42.55 kB / 0.7384 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1968, allocations: 0 / 0.7384 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003531/0.1972, allocations: 89.58 kB / 0.7385 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1973, allocations: 55.34 kB / 0.7385 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1974, allocations: 117.8 kB / 0.7386 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1974, allocations: 25.7 kB / 0.7387 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.1975, allocations: 92.12 kB / 0.7388 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1975, allocations: 15.91 kB / 0.7388 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1976, allocations: 13.72 kB / 0.7388 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1978, allocations: 322.8 kB / 0.7391 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1979, allocations: 15.98 kB / 0.7391 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.1979, allocations: 15.98 kB / 0.7391 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1981, allocations: 40.84 kB / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1981, allocations: 0 / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001848/0.1983, allocations: 77.55 kB / 0.7392 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1983, allocations: 8 kB / 0.7392 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1983, allocations: 0 / 0.7392 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1983, allocations: 0 / 0.7392 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1985, allocations: 11.98 kB / 0.7393 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1985, allocations: 3.938 kB / 0.7393 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.1985, allocations: 11.94 kB / 0.7393 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1986, allocations: 0 / 0.7393 GB, free: 13.87 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 (3): * Single equations (assignments): 3 * 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.478e-05/0.1987, allocations: 113.8 kB / 0.7394 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1987, allocations: 4 kB / 0.7394 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.1987, allocations: 7.906 kB / 0.7394 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1987, allocations: 4 kB / 0.7394 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1987, allocations: 0 / 0.7394 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1988, allocations: 3.938 kB / 0.7394 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.199, allocations: 169.6 kB / 0.7396 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.199, allocations: 8 kB / 0.7396 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.199, allocations: 8 kB / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1991, allocations: 0 / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1991, allocations: 3.984 kB / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1991, allocations: 0 / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1991, allocations: 3.938 kB / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1993, allocations: 167.4 kB / 0.7397 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1994, allocations: 89.06 kB / 0.7398 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1994, allocations: 7.984 kB / 0.7398 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1995, allocations: 0 / 0.7398 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1995, allocations: 4 kB / 0.7398 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1996, allocations: 7.922 kB / 0.7398 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.1996, allocations: 91.66 kB / 0.7399 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1996, allocations: 4 kB / 0.7399 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002143/0.1999, allocations: 4 kB / 0.7399 GB, free: 13.07 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 (3): * Single equations (assignments): 3 * 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.0006154/0.2005, allocations: 0.7127 MB / 0.7406 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2007, allocations: 44 kB / 0.7407 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2007, allocations: 0 / 0.7407 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.2008, allocations: 23.98 kB / 0.7407 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.201, allocations: 11.88 kB / 0.7407 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.2016, allocations: 198.3 kB / 0.7409 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.202, allocations: 0.6846 MB / 0.7416 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.202, allocations: 3.938 kB / 0.7416 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.2021, allocations: 23.44 kB / 0.7416 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2021, allocations: 0 / 0.7416 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.2252, allocations: 1.485 MB / 0.743 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.879, allocations: 6.875 kB / 0.7431 GB, free: 9.914 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.83464180584997] Failed to read output from testmodel.py, exit status != 0: 7.945981930010021 8.29906161 8.101815295 Calling exit ...