Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.002063/0.002063, allocations: 77.25 kB / 19.18 MB, free: 2.512 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.00269/0.00269, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.582/1.582, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.295/1.295, allocations: 154.5 MB / 413.7 MB, free: 5.273 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.411e-05, allocations: 3.594 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007325/0.007359, allocations: 4.66 MB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6727/0.68, allocations: 132.8 MB / 0.7527 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.6816, allocations: 28 kB / 0.7528 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.6827, allocations: 206.7 kB / 0.753 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.6856, allocations: 0.5979 MB / 0.7535 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.6883, allocations: 0.8747 MB / 0.7544 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.6907, allocations: 1.501 MB / 0.7559 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.6923, allocations: 449 kB / 0.7563 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.6951, allocations: 0.7867 MB / 0.7571 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.6966, allocations: 430.1 kB / 0.7575 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.6972, allocations: 128.2 kB / 0.7576 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.6994, allocations: 0.502 MB / 0.7581 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.6999, allocations: 330 kB / 0.7584 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.7013, allocations: 421.7 kB / 0.7588 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.7055, allocations: 1.876 MB / 0.7606 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.7055, allocations: 0 / 0.7606 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.256e-06/0.7055, allocations: 1.375 kB / 0.7606 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001853/0.7057, allocations: 0 / 0.7606 GB, free: 2.477 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006327/0.712, allocations: 1.473 MB / 0.7621 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.7121, allocations: 10.69 kB / 0.7621 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.7145, allocations: 275.7 kB / 0.7623 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.7161, allocations: 0.736 MB / 0.7631 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.7162, allocations: 70.38 kB / 0.7631 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.7163, allocations: 98.61 kB / 0.7632 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.7182, allocations: 1.26 MB / 0.7644 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7182, allocations: 0 / 0.7644 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.7183, allocations: 41.41 kB / 0.7645 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.7184, allocations: 22.97 kB / 0.7645 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.7203, allocations: 1.127 MB / 0.7656 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/0.7253, allocations: 2.174 MB / 0.7677 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.7277, allocations: 0.8471 MB / 0.7686 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.7283, allocations: 284.7 kB / 0.7688 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.7284, allocations: 31.91 kB / 0.7689 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.7294, allocations: 0.5958 MB / 0.7694 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.7294, allocations: 4 kB / 0.7694 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003448/0.7329, allocations: 1.153 MB / 0.7706 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.733, allocations: 189 kB / 0.7708 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.7339, allocations: 0.6019 MB / 0.7713 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.734, allocations: 43.2 kB / 0.7714 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.7344, allocations: 442.9 kB / 0.7718 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.7347, allocations: 276.4 kB / 0.7721 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.7349, allocations: 166.8 kB / 0.7722 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.7352, allocations: 384.1 kB / 0.7726 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.7358, allocations: 283.6 kB / 0.7729 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.7366, allocations: 0.4962 MB / 0.7733 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.7378, allocations: 0.6213 MB / 0.774 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7378, allocations: 3.156 kB / 0.774 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002183/0.74, allocations: 0.8623 MB / 0.7748 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.74, allocations: 7.5 kB / 0.7748 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.74, allocations: 3.984 kB / 0.7748 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.7407, allocations: 90.27 kB / 0.7749 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.7414, allocations: 166.3 kB / 0.7751 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.7437, allocations: 1.502 MB / 0.7765 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.7446, allocations: 95.53 kB / 0.7766 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.7447, allocations: 35.84 kB / 0.7766 GB, free: 8.109 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.7454, allocations: 275.7 kB / 0.7769 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.7456, allocations: 87.67 kB / 0.777 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.7482, allocations: 1.092 MB / 0.7781 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.7482, allocations: 10.44 kB / 0.7781 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7482, allocations: 0 / 0.7781 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7482, allocations: 3.984 kB / 0.7781 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.7518, allocations: 1.736 MB / 0.7798 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7518, allocations: 0 / 0.7798 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.7524, allocations: 153.3 kB / 0.7799 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.7528, allocations: 73.39 kB / 0.78 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.649e-05/0.7529, allocations: 32.34 kB / 0.78 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.7549, allocations: 1.53 MB / 0.7815 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7549, allocations: 0 / 0.7815 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.7572, allocations: 1.015 MB / 0.7825 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.7576, allocations: 203.3 kB / 0.7827 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.7578, allocations: 25.17 kB / 0.7827 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.7586, allocations: 71.41 kB / 0.7828 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.7588, allocations: 71.73 kB / 0.7829 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/0.7588, allocations: 39.91 kB / 0.7829 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006469/0.7595, allocations: 436 kB / 0.7833 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7595, allocations: 2.875 kB / 0.7833 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001178/0.7607, allocations: 349 kB / 0.7836 GB, free: 3.41 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002416/0.7631, allocations: 0.6489 MB / 0.7843 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.765, allocations: 0.8268 MB / 0.7851 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7651, allocations: 0 / 0.7851 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.7661, allocations: 0.4908 MB / 0.7856 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.7676, allocations: 299.1 kB / 0.7859 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.7713, allocations: 1.757 MB / 0.7876 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.7719, allocations: 458.7 kB / 0.788 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008906/0.7728, allocations: 263.9 kB / 0.7883 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.7731, allocations: 112 kB / 0.7884 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of SimCode: time 9.81e-07/0.7731, allocations: 0 / 0.7884 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of Templates: time 0.02969/0.8028, allocations: 15.44 MB / 0.8034 GB, free: 6.906 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.396565776318312] Failed to read output from testmodel.py, exit status != 0: 0.8127380385994911 0.828367823 0.119403007 Calling exit ...