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.001316/0.001316, allocations: 110 kB / 18.93 MB, free: 2.945 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.001392/0.001392, allocations: 192.9 kB / 22.23 MB, free: 5.152 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.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.01 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.149/1.149, allocations: 177.9 MB / 484.2 MB, free: 5.359 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 64.8 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.6419, allocations: 95.17 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003209/0.6451, allocations: 2.197 MB / 0.7691 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.6497, allocations: 4.13 MB / 0.7731 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.6499, allocations: 1.531 kB / 0.7731 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.6507, allocations: 191.2 kB / 0.7733 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.6509, allocations: 89.16 kB / 0.7734 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.6517, allocations: 297.8 kB / 0.7737 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.6524, allocations: 428 kB / 0.7741 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.6525, allocations: 47.09 kB / 0.7741 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.6527, allocations: 143.6 kB / 0.7742 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.6529, allocations: 159.8 kB / 0.7744 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.6529, allocations: 20.84 kB / 0.7744 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.6535, allocations: 351 kB / 0.7747 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.6537, allocations: 122.8 kB / 0.7749 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.6538, allocations: 165.7 kB / 0.775 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.6547, allocations: 0.5729 MB / 0.7756 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6547, allocations: 0.75 kB / 0.7756 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6547, allocations: 0 / 0.7756 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.6547, allocations: 1.312 kB / 0.7756 GB, free: 2.758 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.00153/0.6562, allocations: 0.7389 MB / 0.7763 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6563, allocations: 9.469 kB / 0.7763 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6573, allocations: 188.2 kB / 0.7765 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.6582, allocations: 336.8 kB / 0.7768 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.6582, allocations: 5.625 kB / 0.7768 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.6582, allocations: 10.12 kB / 0.7768 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/0.659, allocations: 244.8 kB / 0.7771 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.659, allocations: 5 kB / 0.7771 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.6591, allocations: 5.406 kB / 0.7771 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.6591, allocations: 5.219 kB / 0.7771 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.6602, allocations: 337.5 kB / 0.7774 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.6617, allocations: 0.6533 MB / 0.778 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.6622, allocations: 213.7 kB / 0.7782 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.6628, allocations: 178.8 kB / 0.7784 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.6628, allocations: 16.62 kB / 0.7784 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.6628, allocations: 35.36 kB / 0.7785 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.6628, allocations: 1.156 kB / 0.7785 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001834/0.6647, allocations: 0.5625 MB / 0.779 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6647, allocations: 57.23 kB / 0.7791 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.6651, allocations: 431 kB / 0.7795 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.6652, allocations: 29.7 kB / 0.7795 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.6653, allocations: 190.3 kB / 0.7797 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.6653, allocations: 51.84 kB / 0.7797 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6654, allocations: 53.48 kB / 0.7798 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.6655, allocations: 347.8 kB / 0.7801 GB, free: 236 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.6662, allocations: 297.5 kB / 0.7804 GB, free: 164 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.6668, allocations: 297.2 kB / 0.7807 GB, free: 96 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.668, allocations: 0.5129 MB / 0.7812 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.668, allocations: 0 / 0.7812 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001519/0.6696, allocations: 0.7189 MB / 0.7819 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.6696, allocations: 43.42 kB / 0.7819 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6696, allocations: 2.656 kB / 0.7819 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6696, allocations: 0 / 0.7819 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.6701, allocations: 76.14 kB / 0.782 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6701, allocations: 3.312 kB / 0.782 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.6705, allocations: 56.55 kB / 0.7821 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.6706, allocations: 6.25 kB / 0.7821 GB, free: 15.62 MB / 0.5919 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.00023/0.6708, allocations: 155.4 kB / 0.7822 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.6709, allocations: 35.86 kB / 0.7823 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.6723, allocations: 443.5 kB / 0.7827 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6723, allocations: 11.44 kB / 0.7827 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6723, allocations: 0 / 0.7827 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6723, allocations: 0.6094 kB / 0.7827 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.6728, allocations: 337.4 kB / 0.783 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6728, allocations: 7.938 kB / 0.783 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.6732, allocations: 57.64 kB / 0.7831 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6732, allocations: 2.031 kB / 0.7831 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.6732, allocations: 7.094 kB / 0.7831 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6733, allocations: 6.281 kB / 0.7831 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6733, allocations: 0 / 0.7831 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.6746, allocations: 0.5025 MB / 0.7836 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.6748, allocations: 65.66 kB / 0.7836 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.6748, allocations: 4.703 kB / 0.7836 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.6752, allocations: 34.72 kB / 0.7837 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.6753, allocations: 23.58 kB / 0.7837 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.6753, allocations: 6.844 kB / 0.7837 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004696/0.6758, allocations: 301.7 kB / 0.784 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6758, allocations: 0 / 0.784 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006456/0.6764, allocations: 129.9 kB / 0.7841 GB, free: 14.65 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.0003831/0.6768, allocations: 174.2 kB / 0.7843 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.6784, allocations: 0.6212 MB / 0.7849 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6784, allocations: 4 kB / 0.7849 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.679, allocations: 177.4 kB / 0.7851 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.6795, allocations: 57.55 kB / 0.7851 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.6809, allocations: 0.7039 MB / 0.7858 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.6814, allocations: 0.8041 MB / 0.7866 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.6816, allocations: 67.36 kB / 0.7867 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.6817, allocations: 31.27 kB / 0.7867 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of SimCode: time 7.72e-07/0.6817, allocations: 0 / 0.7867 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.01307/0.6948, allocations: 5.572 MB / 0.7921 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.870887126773596] Failed to read output from testmodel.py, exit status != 0: 0.7036069761961699 0.724550916 0.06445035 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe4fec397b0>