Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001901/0.001901, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.002055/0.002055, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.378/1.378, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.044/1.044, allocations: 175.7 MB / 478.4 MB, free: 3.793 MB / 366.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.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 64.06 kB / 0.6652 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1801, allocations: 94.54 MB / 0.7575 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003554/0.1837, allocations: 2.176 MB / 0.7597 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005341/0.189, allocations: 4.112 MB / 0.7637 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1891, allocations: 0 / 0.7637 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.19, allocations: 183.2 kB / 0.7638 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1902, allocations: 79.28 kB / 0.7639 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.1909, allocations: 285.9 kB / 0.7642 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.1915, allocations: 438.6 kB / 0.7646 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1916, allocations: 40.73 kB / 0.7646 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1918, allocations: 135.5 kB / 0.7648 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.192, allocations: 159.3 kB / 0.7649 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1921, allocations: 20 kB / 0.7649 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.1926, allocations: 335.5 kB / 0.7653 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1927, allocations: 115.6 kB / 0.7654 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1929, allocations: 167 kB / 0.7655 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.1936, allocations: 0.572 MB / 0.7661 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1936, allocations: 4 kB / 0.7661 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1936, allocations: 0 / 0.7661 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.1936, allocations: 0 / 0.7661 GB, free: 8.781 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001589/0.1952, allocations: 0.8028 MB / 0.7669 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1953, allocations: 16.02 kB / 0.7669 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1953, allocations: 38.75 kB / 0.7669 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/0.1962, allocations: 188.5 kB / 0.7671 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/0.1971, allocations: 390.1 kB / 0.7675 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1971, allocations: 8 kB / 0.7675 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.1972, allocations: 12 kB / 0.7675 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.1979, allocations: 249.4 kB / 0.7677 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1979, allocations: 0 / 0.7677 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1979, allocations: 4 kB / 0.7677 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1979, allocations: 7.938 kB / 0.7678 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.1989, allocations: 323.7 kB / 0.7681 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.2004, allocations: 0.6914 MB / 0.7687 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.201, allocations: 210.4 kB / 0.7689 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.2015, allocations: 177 kB / 0.7691 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.2015, allocations: 23.98 kB / 0.7691 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2016, allocations: 34.5 kB / 0.7692 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2016, allocations: 4 kB / 0.7692 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001677/0.2032, allocations: 0.5636 MB / 0.7697 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2033, allocations: 59.41 kB / 0.7698 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.2038, allocations: 433.9 kB / 0.7702 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.2038, allocations: 29.7 kB / 0.7702 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.204, allocations: 192.5 kB / 0.7704 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.2041, allocations: 43.58 kB / 0.7704 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2042, allocations: 53.67 kB / 0.7705 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2044, allocations: 350.8 kB / 0.7708 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.205, allocations: 292 kB / 0.7711 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.2056, allocations: 297.2 kB / 0.7714 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2068, allocations: 0.5042 MB / 0.7719 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2068, allocations: 0 / 0.7719 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001418/0.2082, allocations: 0.7188 MB / 0.7726 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.2083, allocations: 41.69 kB / 0.7726 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2083, allocations: 4 kB / 0.7726 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2083, allocations: 3.938 kB / 0.7726 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.2087, allocations: 71.86 kB / 0.7727 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2087, allocations: 0 / 0.7727 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.2091, allocations: 51.78 kB / 0.7727 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.2091, allocations: 12 kB / 0.7728 GB, free: 1.695 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001833/0.2093, allocations: 161.8 kB / 0.7729 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.2093, allocations: 35.77 kB / 0.7729 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2106, allocations: 444.8 kB / 0.7734 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.2106, allocations: 7.938 kB / 0.7734 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2106, allocations: 0 / 0.7734 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2106, allocations: 3.984 kB / 0.7734 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.211, allocations: 377.2 kB / 0.7737 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.211, allocations: 0 / 0.7737 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.2114, allocations: 59.91 kB / 0.7738 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2114, allocations: 0 / 0.7738 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.2114, allocations: 8 kB / 0.7738 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2114, allocations: 7.875 kB / 0.7738 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2114, allocations: 0 / 0.7738 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2126, allocations: 0.4996 MB / 0.7743 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.2128, allocations: 132.8 kB / 0.7744 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.2128, allocations: 8 kB / 0.7744 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.2132, allocations: 43.88 kB / 0.7745 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.2132, allocations: 11.98 kB / 0.7745 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.2133, allocations: 7.984 kB / 0.7745 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003428/0.2136, allocations: 307.1 kB / 0.7748 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2136, allocations: 3.938 kB / 0.7748 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004614/0.2141, allocations: 127.8 kB / 0.7749 GB, free: 15.39 MB / 0.5919 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 (13): * Single equations (assignments): 13 * 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.001717/0.2158, allocations: 1.122 MB / 0.776 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2172, allocations: 0.6259 MB / 0.7766 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2172, allocations: 4 kB / 0.7766 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.2178, allocations: 179.8 kB / 0.7768 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.2183, allocations: 67.39 kB / 0.7769 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.2261, allocations: 5.217 MB / 0.782 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.2266, allocations: 0.7983 MB / 0.7827 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.2268, allocations: 53.91 kB / 0.7828 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.227, allocations: 111.4 kB / 0.7829 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.227, allocations: 4 kB / 0.7829 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.2613, allocations: 9.158 MB / 0.7918 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.712, allocations: 11.97 kB / 0.7919 GB, free: 14.06 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.408220019191504] Failed to read output from testmodel.py, exit status != 0: 8.781438083853573 8.795317878 8.598962886 Calling exit ...