Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006357/0.006357, allocations: 101.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 199 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.865/0.865, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.5813 GB, free: 7.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4938, allocations: 80.21 MB / 0.6596 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006546/0.5003, allocations: 4.918 MB / 0.6644 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2005/0.7009, allocations: 150.8 MB / 0.8117 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.7022, allocations: 19.88 kB / 0.8117 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000921/0.7032, allocations: 202.1 kB / 0.8119 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.7059, allocations: 0.5672 MB / 0.8125 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.7086, allocations: 0.922 MB / 0.8134 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.7111, allocations: 1.557 MB / 0.8149 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.7131, allocations: 1.168 MB / 0.816 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.7145, allocations: 0.6889 MB / 0.8167 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.7156, allocations: 0.735 MB / 0.8174 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.7161, allocations: 196 kB / 0.8176 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.7176, allocations: 0.5426 MB / 0.8182 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.7183, allocations: 434.6 kB / 0.8186 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.7196, allocations: 0.8161 MB / 0.8194 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.7228, allocations: 2.299 MB / 0.8216 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7228, allocations: 0 / 0.8216 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7228, allocations: 0 / 0.8216 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.548e-05/0.7229, allocations: 0 / 0.8216 GB, free: 15.78 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.003958/0.7268, allocations: 1.83 MB / 0.8234 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.7269, allocations: 12.03 kB / 0.8234 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.7281, allocations: 234.7 kB / 0.8236 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.7298, allocations: 0.9189 MB / 0.8245 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.7299, allocations: 144.6 kB / 0.8247 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.7301, allocations: 148 kB / 0.8248 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.7329, allocations: 1.461 MB / 0.8262 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.7329, allocations: 4 kB / 0.8262 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7331, allocations: 56 kB / 0.8263 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.7331, allocations: 39.94 kB / 0.8263 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.7356, allocations: 1.498 MB / 0.8278 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/0.7424, allocations: 3.879 MB / 0.8316 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7441, allocations: 0.9036 MB / 0.8325 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.7448, allocations: 363.7 kB / 0.8328 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-05/0.7449, allocations: 41 kB / 0.8328 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.7459, allocations: 0.5515 MB / 0.8334 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=93): time 3.607e-06/0.746, allocations: 0 / 0.8334 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.003752/0.7497, allocations: 1.384 MB / 0.8347 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.7498, allocations: 188.9 kB / 0.8349 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.7511, allocations: 0.7667 MB / 0.8357 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.7512, allocations: 45.7 kB / 0.8357 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.7518, allocations: 0.5697 MB / 0.8363 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.7521, allocations: 307.5 kB / 0.8366 GB, free: 112 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.7525, allocations: 198.5 kB / 0.8367 GB, free: 15.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7526, allocations: 341.9 kB / 0.8371 GB, free: 15.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.7533, allocations: 325.8 kB / 0.8374 GB, free: 15.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.7541, allocations: 431.9 kB / 0.8378 GB, free: 14.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.7557, allocations: 0.7694 MB / 0.8385 GB, free: 14.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.7557, allocations: 0 / 0.8385 GB, free: 14.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002352/0.7581, allocations: 1.028 MB / 0.8396 GB, free: 12.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7581, allocations: 4 kB / 0.8396 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7581, allocations: 7.875 kB / 0.8396 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.7587, allocations: 92.8 kB / 0.8397 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.7596, allocations: 195.7 kB / 0.8398 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.7619, allocations: 1.642 MB / 0.8414 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.7628, allocations: 108.6 kB / 0.8415 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.7629, allocations: 43.97 kB / 0.8416 GB, free: 10.75 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.0007479/0.7637, allocations: 324 kB / 0.8419 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.764, allocations: 98.78 kB / 0.842 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.7672, allocations: 1.282 MB / 0.8432 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.7672, allocations: 15.94 kB / 0.8433 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7672, allocations: 0 / 0.8433 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.7673, allocations: 7.969 kB / 0.8433 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.7723, allocations: 2.485 MB / 0.8457 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.7724, allocations: 8 kB / 0.8457 GB, free: 6.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.7731, allocations: 175.8 kB / 0.8459 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.7736, allocations: 72.78 kB / 0.8459 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/0.7737, allocations: 31.97 kB / 0.846 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.776, allocations: 1.67 MB / 0.8476 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.776, allocations: 0 / 0.8476 GB, free: 4.363 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.7786, allocations: 1.123 MB / 0.8487 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.7792, allocations: 307.5 kB / 0.849 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.7795, allocations: 27.91 kB / 0.849 GB, free: 2.879 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.7804, allocations: 64 kB / 0.8491 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7806, allocations: 72.89 kB / 0.8491 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.7807, allocations: 39.97 kB / 0.8492 GB, free: 2.703 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009424/0.7816, allocations: 0.5615 MB / 0.8497 GB, free: 2.148 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.42e-07/0.7816, allocations: 0 / 0.8497 GB, free: 2.148 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001223/0.7829, allocations: 406.4 kB / 0.8501 GB, free: 1.75 MB / 0.67 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.001525/0.7844, allocations: 0.6092 MB / 0.8507 GB, free: 1.348 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.7866, allocations: 0.9641 MB / 0.8517 GB, free: 380 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.7866, allocations: 0 / 0.8517 GB, free: 380 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7877, allocations: 0.5744 MB / 0.8522 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.7893, allocations: 308 kB / 0.8525 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.7944, allocations: 2.309 MB / 0.8548 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/0.7953, allocations: 1.168 MB / 0.8559 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001075/0.7964, allocations: 291.8 kB / 0.8562 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.7968, allocations: 127.4 kB / 0.8563 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/0.7968, allocations: 0 / 0.8563 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of Templates: time 0.427/1.224, allocations: 17.41 MB / 0.8733 GB, free: 190.6 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)