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.001533/0.001533, allocations: 116.4 kB / 17.13 MB, free: 5.781 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.001728/0.001728, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.084/1.084, allocations: 175.8 MB / 479.1 MB, free: 3.344 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: 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.002222/0.002222, allocations: 72.28 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2171, allocations: 94.55 MB / 0.7587 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004181/0.2213, allocations: 2.169 MB / 0.7608 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006574/0.2279, allocations: 4.101 MB / 0.7648 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2281, allocations: 3.938 kB / 0.7648 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2292, allocations: 187.1 kB / 0.765 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2295, allocations: 83.28 kB / 0.7651 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.2305, allocations: 284.2 kB / 0.7653 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.2314, allocations: 438.6 kB / 0.7658 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2315, allocations: 36.73 kB / 0.7658 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.2318, allocations: 135.5 kB / 0.7659 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.2321, allocations: 163.3 kB / 0.7661 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.2322, allocations: 20 kB / 0.7661 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.2328, allocations: 331.5 kB / 0.7664 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.233, allocations: 115.6 kB / 0.7665 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.2332, allocations: 171 kB / 0.7667 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.2341, allocations: 0.5681 MB / 0.7672 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2341, allocations: 0 / 0.7672 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2341, allocations: 0 / 0.7672 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.2341, allocations: 0 / 0.7672 GB, free: 8.25 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.001849/0.236, allocations: 0.8106 MB / 0.768 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.236, allocations: 12.03 kB / 0.768 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.237, allocations: 184.5 kB / 0.7682 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009518/0.238, allocations: 398.3 kB / 0.7686 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.238, allocations: 8 kB / 0.7686 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.238, allocations: 8 kB / 0.7686 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.2388, allocations: 249.4 kB / 0.7688 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2388, allocations: 0 / 0.7688 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2388, allocations: 4 kB / 0.7689 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2388, allocations: 7.938 kB / 0.7689 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2398, allocations: 327.7 kB / 0.7692 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2415, allocations: 0.6799 MB / 0.7698 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.2421, allocations: 214.4 kB / 0.77 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.2427, allocations: 180.9 kB / 0.7702 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.2427, allocations: 27.97 kB / 0.7702 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2428, allocations: 30.56 kB / 0.7703 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.2428, allocations: 4 kB / 0.7703 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001791/0.2446, allocations: 0.5621 MB / 0.7708 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.2446, allocations: 59.34 kB / 0.7709 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.2452, allocations: 433.9 kB / 0.7713 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.2452, allocations: 29.64 kB / 0.7713 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.2454, allocations: 192.6 kB / 0.7715 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.2454, allocations: 47.58 kB / 0.7715 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2456, allocations: 53.67 kB / 0.7716 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2458, allocations: 350.8 kB / 0.7719 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/0.2464, allocations: 288 kB / 0.7722 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.2471, allocations: 304.2 kB / 0.7725 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.2483, allocations: 0.5091 MB / 0.773 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2483, allocations: 0 / 0.773 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001569/0.2499, allocations: 0.7149 MB / 0.7737 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.25, allocations: 45.69 kB / 0.7737 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.25, allocations: 0 / 0.7737 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.25, allocations: 0 / 0.7737 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.2505, allocations: 75.8 kB / 0.7738 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2505, allocations: 0 / 0.7738 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.2509, allocations: 55.78 kB / 0.7739 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2509, allocations: 8 kB / 0.7739 GB, free: 1.203 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.0002298/0.2511, allocations: 157.8 kB / 0.774 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.2512, allocations: 43.7 kB / 0.7741 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2526, allocations: 432.8 kB / 0.7745 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2526, allocations: 7.938 kB / 0.7745 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2526, allocations: 0 / 0.7745 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2526, allocations: 0 / 0.7745 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.2531, allocations: 377.3 kB / 0.7748 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2531, allocations: 0 / 0.7748 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.2535, allocations: 59.91 kB / 0.7749 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2535, allocations: 7.938 kB / 0.7749 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2535, allocations: 7.938 kB / 0.7749 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2535, allocations: 3.938 kB / 0.7749 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2535, allocations: 0 / 0.7749 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2548, allocations: 0.499 MB / 0.7754 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.255, allocations: 140.8 kB / 0.7755 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.2551, allocations: 0 / 0.7755 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.2554, allocations: 43.88 kB / 0.7756 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.2555, allocations: 15.98 kB / 0.7756 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2555, allocations: 11.98 kB / 0.7756 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003923/0.2559, allocations: 303.1 kB / 0.7759 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2559, allocations: 0 / 0.7759 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005279/0.2564, allocations: 127.8 kB / 0.776 GB, free: 14.9 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.0004568/0.2569, allocations: 184.3 kB / 0.7762 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.2584, allocations: 0.622 MB / 0.7768 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2584, allocations: 4 kB / 0.7768 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.259, allocations: 179.8 kB / 0.777 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.2595, allocations: 58.61 kB / 0.777 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2612, allocations: 0.7505 MB / 0.7778 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.2618, allocations: 0.7944 MB / 0.7785 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2619, allocations: 35.41 kB / 0.7786 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.2619, allocations: 0 / 0.7786 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.01116/0.2731, allocations: 5.511 MB / 0.784 GB, free: 6.719 MB / 0.5919 GB " [Timeout remaining time 660] 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: 9.126562850084156] Failed to read output from testmodel.py, exit status != 0: 0.28184211114421487 0.296779603 0.059548255 Calling exit ...