Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001763/0.001763, allocations: 78.41 kB / 19.76 MB, free: 1.898 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.002166/0.002166, allocations: 160.1 kB / 23.01 MB, free: 4.574 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 101.3 MB / 361.1 MB, free: 10.09 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003061/0.003061, allocations: 63.44 kB / 0.5356 GB, free: 5.57 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1831, allocations: 85.88 MB / 0.6195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00654/0.1896, allocations: 3.837 MB / 0.6232 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5807/0.7704, allocations: 132.6 MB / 0.7527 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.7712, allocations: 24.53 kB / 0.7527 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.7719, allocations: 171.8 kB / 0.7529 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.7737, allocations: 0.4934 MB / 0.7533 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.7759, allocations: 0.8247 MB / 0.7542 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.7778, allocations: 1.221 MB / 0.7553 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.7787, allocations: 485.4 kB / 0.7558 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.7798, allocations: 0.716 MB / 0.7565 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.7803, allocations: 436.6 kB / 0.7569 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.7805, allocations: 114 kB / 0.757 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.7816, allocations: 494.7 kB / 0.7575 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.782, allocations: 295.8 kB / 0.7578 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.7824, allocations: 434.3 kB / 0.7582 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.7847, allocations: 1.634 MB / 0.7598 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7847, allocations: 0 / 0.7598 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7847, allocations: 0 / 0.7598 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.7847, allocations: 0 / 0.7598 GB, free: 8.734 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002454/0.7871, allocations: 1.366 MB / 0.7611 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7872, allocations: 8.719 kB / 0.7611 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.789, allocations: 266.8 kB / 0.7614 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.7903, allocations: 0.6974 MB / 0.7621 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.7904, allocations: 66 kB / 0.7621 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7905, allocations: 93.64 kB / 0.7622 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.7923, allocations: 1.198 MB / 0.7634 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.7923, allocations: 0 / 0.7634 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.7924, allocations: 36.44 kB / 0.7634 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.7924, allocations: 22.06 kB / 0.7635 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.7942, allocations: 1.082 MB / 0.7645 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.7981, allocations: 2.038 MB / 0.7665 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.8002, allocations: 0.7652 MB / 0.7672 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.8008, allocations: 264.2 kB / 0.7675 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.8008, allocations: 26.16 kB / 0.7675 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009/0.8017, allocations: 0.5343 MB / 0.768 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.8017, allocations: 0 / 0.768 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002998/0.8047, allocations: 1.02 MB / 0.769 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.8049, allocations: 196.8 kB / 0.7692 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.8057, allocations: 0.5489 MB / 0.7698 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.8057, allocations: 40.33 kB / 0.7698 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.8061, allocations: 415.7 kB / 0.7702 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.8063, allocations: 249.3 kB / 0.7704 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.8066, allocations: 152.4 kB / 0.7706 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.8068, allocations: 374.8 kB / 0.7709 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.8073, allocations: 248.7 kB / 0.7712 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.808, allocations: 462.2 kB / 0.7716 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.809, allocations: 0.5695 MB / 0.7722 GB, free: 348 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.809, allocations: 3.938 kB / 0.7722 GB, free: 344 kB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001925/0.8109, allocations: 0.7883 MB / 0.7729 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.811, allocations: 7.438 kB / 0.773 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.811, allocations: 0 / 0.773 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.8116, allocations: 79.91 kB / 0.773 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.8122, allocations: 152.9 kB / 0.7732 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.8144, allocations: 1.501 MB / 0.7746 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.8151, allocations: 76.53 kB / 0.7747 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.8151, allocations: 40.66 kB / 0.7748 GB, free: 14.35 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004891/0.8156, allocations: 260.8 kB / 0.775 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.8158, allocations: 89.94 kB / 0.7751 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.8181, allocations: 0.9933 MB / 0.7761 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.8181, allocations: 11.75 kB / 0.7761 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8182, allocations: 0 / 0.7761 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8182, allocations: 3.984 kB / 0.7761 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.8215, allocations: 1.647 MB / 0.7777 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.8215, allocations: 0 / 0.7777 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.8221, allocations: 148.4 kB / 0.7778 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.8225, allocations: 70.17 kB / 0.7779 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.8226, allocations: 27.86 kB / 0.7779 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.8245, allocations: 1.525 MB / 0.7794 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8245, allocations: 6.531 kB / 0.7794 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.8266, allocations: 0.918 MB / 0.7803 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.827, allocations: 176.5 kB / 0.7805 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.8271, allocations: 25.11 kB / 0.7805 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.8277, allocations: 56.38 kB / 0.7806 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.8278, allocations: 68.22 kB / 0.7806 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.8279, allocations: 29.73 kB / 0.7806 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000567/0.8284, allocations: 402.4 kB / 0.781 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8284, allocations: 0 / 0.781 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001019/0.8295, allocations: 307.8 kB / 0.7813 GB, free: 9.859 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0022/0.8317, allocations: 0.6343 MB / 0.7819 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.8334, allocations: 0.7469 MB / 0.7827 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8334, allocations: 7.984 kB / 0.7827 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.8343, allocations: 466.1 kB / 0.7831 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8355, allocations: 270.6 kB / 0.7834 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.8397, allocations: 1.758 MB / 0.7851 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.8402, allocations: 441.4 kB / 0.7855 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008963/0.8411, allocations: 253.9 kB / 0.7858 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.8413, allocations: 106.6 kB / 0.7859 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.8414, allocations: 0 / 0.7859 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of Templates: time 0.02726/0.8686, allocations: 14.37 MB / 0.7999 GB, free: 13.01 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.862110902089626] Failed to read output from testmodel.py, exit status != 0: 0.8787484960630536 0.892872259 0.104906124 Calling exit ...