Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 187.8 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4785, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006336/0.4849, allocations: 4.924 MB / 0.6694 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.67, allocations: 150.8 MB / 0.8167 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.6713, allocations: 23.88 kB / 0.8167 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.672, allocations: 190.2 kB / 0.8169 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.6742, allocations: 0.5578 MB / 0.8174 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.6765, allocations: 0.9298 MB / 0.8183 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.6783, allocations: 1.553 MB / 0.8199 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.6797, allocations: 1.16 MB / 0.821 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/0.6806, allocations: 0.685 MB / 0.8217 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.6813, allocations: 0.735 MB / 0.8224 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.6816, allocations: 192 kB / 0.8226 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.6827, allocations: 0.5465 MB / 0.8231 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.6831, allocations: 434.6 kB / 0.8235 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.6837, allocations: 0.8083 MB / 0.8243 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.6863, allocations: 2.325 MB / 0.8266 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6863, allocations: 0 / 0.8266 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6864, allocations: 0 / 0.8266 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.6864, allocations: 0 / 0.8266 GB, free: 11.18 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002918/0.6893, allocations: 1.866 MB / 0.8284 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6894, allocations: 8.031 kB / 0.8284 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009531/0.6903, allocations: 255.7 kB / 0.8286 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6916, allocations: 0.9234 MB / 0.8295 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.6918, allocations: 140.7 kB / 0.8297 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6919, allocations: 136 kB / 0.8298 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.6943, allocations: 1.469 MB / 0.8312 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.6943, allocations: 3.938 kB / 0.8312 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6944, allocations: 60 kB / 0.8313 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.6945, allocations: 36 kB / 0.8313 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.6968, allocations: 1.498 MB / 0.8328 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.7025, allocations: 3.887 MB / 0.8366 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.7041, allocations: 0.9079 MB / 0.8375 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.7047, allocations: 367.7 kB / 0.8378 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.009e-05/0.7048, allocations: 37.02 kB / 0.8379 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009693/0.7058, allocations: 0.548 MB / 0.8384 GB, free: 14.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 2.545e-06/0.7058, allocations: 4 kB / 0.8384 GB, free: 14.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003496/0.7093, allocations: 1.369 MB / 0.8397 GB, free: 13.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7095, allocations: 196.9 kB / 0.8399 GB, free: 13.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7105, allocations: 0.7666 MB / 0.8407 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.7106, allocations: 41.7 kB / 0.8407 GB, free: 12.33 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.7111, allocations: 0.5946 MB / 0.8413 GB, free: 11.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.7113, allocations: 321.2 kB / 0.8416 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.7116, allocations: 198.5 kB / 0.8418 GB, free: 11.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7118, allocations: 341.9 kB / 0.8421 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.7124, allocations: 329.8 kB / 0.8424 GB, free: 10.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/0.7131, allocations: 435.9 kB / 0.8429 GB, free: 10.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7145, allocations: 0.7656 MB / 0.8436 GB, free: 9.324 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7145, allocations: 0 / 0.8436 GB, free: 9.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002206/0.7167, allocations: 1.029 MB / 0.8446 GB, free: 8.285 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.7167, allocations: 4 kB / 0.8446 GB, free: 8.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7168, allocations: 7.938 kB / 0.8446 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.7174, allocations: 88.83 kB / 0.8447 GB, free: 8.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.7182, allocations: 195.7 kB / 0.8449 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.7203, allocations: 1.641 MB / 0.8465 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/0.7211, allocations: 109.6 kB / 0.8466 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/0.7213, allocations: 55.84 kB / 0.8466 GB, free: 6.047 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0006389/0.7219, allocations: 324.5 kB / 0.847 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.7221, allocations: 111.3 kB / 0.8471 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.725, allocations: 1.275 MB / 0.8483 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.725, allocations: 15.94 kB / 0.8483 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7251, allocations: 4 kB / 0.8483 GB, free: 4.309 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7251, allocations: 3.984 kB / 0.8483 GB, free: 4.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.7294, allocations: 2.501 MB / 0.8508 GB, free: 1.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7294, allocations: 3.938 kB / 0.8508 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.7301, allocations: 175.8 kB / 0.8509 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.7305, allocations: 76.78 kB / 0.851 GB, free: 1.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.7306, allocations: 27.98 kB / 0.851 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7326, allocations: 1.674 MB / 0.8527 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7326, allocations: 0 / 0.8527 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.7348, allocations: 1.116 MB / 0.8538 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.7354, allocations: 320 kB / 0.8541 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.7356, allocations: 23.95 kB / 0.8541 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.7363, allocations: 63.88 kB / 0.8542 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7365, allocations: 72.89 kB / 0.8542 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.7366, allocations: 43.97 kB / 0.8543 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008257/0.7374, allocations: 0.5576 MB / 0.8548 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7374, allocations: 0 / 0.8548 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001164/0.7386, allocations: 414.6 kB / 0.8552 GB, free: 13.01 MB / 0.6856 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 (107): * Single equations (assignments): 104 * 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.001536/0.7401, allocations: 0.5959 MB / 0.8558 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.7422, allocations: 0.9639 MB / 0.8567 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7422, allocations: 4.25 kB / 0.8567 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7433, allocations: 0.586 MB / 0.8573 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7446, allocations: 310 kB / 0.8576 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.7497, allocations: 2.361 MB / 0.8599 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.7506, allocations: 1.165 MB / 0.861 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009325/0.7515, allocations: 287.9 kB / 0.8613 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.7519, allocations: 127.4 kB / 0.8614 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.7519, allocations: 3.938 kB / 0.8614 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.4225/1.174, allocations: 17.41 MB / 0.8785 GB, free: 186.2 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)