Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 195.7 kB / 16.14 MB, free: 6.688 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7683/0.7683, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.12 kB / 0.5011 GB, free: 9.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 80.21 MB / 0.5794 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006813/0.2068, allocations: 4.126 MB / 0.5835 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4958/0.7026, allocations: 148.1 MB / 0.7281 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.7034, allocations: 18.47 kB / 0.7281 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.704, allocations: 135.8 kB / 0.7283 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.7054, allocations: 405.9 kB / 0.7286 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.7071, allocations: 0.6866 MB / 0.7293 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009445/0.708, allocations: 1.076 MB / 0.7304 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.7087, allocations: 0.5769 MB / 0.7309 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.7092, allocations: 365.4 kB / 0.7313 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.7096, allocations: 412.3 kB / 0.7317 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.7097, allocations: 50.5 kB / 0.7317 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.7105, allocations: 394.3 kB / 0.7321 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.7107, allocations: 211.6 kB / 0.7323 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.7111, allocations: 447.5 kB / 0.7327 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.7124, allocations: 1.388 MB / 0.7341 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7124, allocations: 0 / 0.7341 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7124, allocations: 0 / 0.7341 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7124, allocations: 7.75 kB / 0.7341 GB, free: 0.5195 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002129/0.7145, allocations: 1.315 MB / 0.7354 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7146, allocations: 9.656 kB / 0.7354 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.7155, allocations: 177.6 kB / 0.7356 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.7164, allocations: 0.7033 MB / 0.7362 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.7164, allocations: 57.94 kB / 0.7363 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.7165, allocations: 78.89 kB / 0.7364 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.7179, allocations: 0.8572 MB / 0.7372 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.7179, allocations: 0 / 0.7372 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.718, allocations: 33.03 kB / 0.7372 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.718, allocations: 18.25 kB / 0.7373 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.7195, allocations: 1.054 MB / 0.7383 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.7229, allocations: 2.355 MB / 0.7406 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.7241, allocations: 0.7037 MB / 0.7413 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.7246, allocations: 266.8 kB / 0.7415 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.941e-05/0.7247, allocations: 25.47 kB / 0.7415 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.7255, allocations: 432.1 kB / 0.742 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 2.053e-06/0.7255, allocations: 0 / 0.742 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002824/0.7283, allocations: 1.059 MB / 0.743 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.7284, allocations: 196.6 kB / 0.7432 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.7291, allocations: 0.5857 MB / 0.7438 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.7291, allocations: 39.05 kB / 0.7438 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.7294, allocations: 377 kB / 0.7442 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.7296, allocations: 229.6 kB / 0.7444 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.7298, allocations: 153.8 kB / 0.7445 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.73, allocations: 381.7 kB / 0.7449 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.7304, allocations: 232 kB / 0.7451 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.731, allocations: 324.7 kB / 0.7454 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.732, allocations: 0.55 MB / 0.7459 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.732, allocations: 0 / 0.7459 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001724/0.7337, allocations: 0.7627 MB / 0.7467 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.7338, allocations: 4 kB / 0.7467 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7338, allocations: 7 kB / 0.7467 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.7344, allocations: 76.83 kB / 0.7468 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.735, allocations: 151.8 kB / 0.7469 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.7371, allocations: 1.517 MB / 0.7484 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.7377, allocations: 75.47 kB / 0.7485 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/0.7378, allocations: 35.97 kB / 0.7485 GB, free: 5.715 MB / 0.5606 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 (83): * Single equations (assignments): 82 * 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.0004466/0.7383, allocations: 251.3 kB / 0.7487 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.7384, allocations: 75.06 kB / 0.7488 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.7406, allocations: 0.969 MB / 0.7498 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.7407, allocations: 8 kB / 0.7498 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7407, allocations: 3.938 kB / 0.7498 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7407, allocations: 3.984 kB / 0.7498 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.7416, allocations: 0.8139 MB / 0.7506 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7416, allocations: 0 / 0.7506 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.7421, allocations: 139.7 kB / 0.7507 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.7427, allocations: 80.78 kB / 0.7508 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.7427, allocations: 23.98 kB / 0.7508 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7445, allocations: 1.554 MB / 0.7523 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7445, allocations: 0 / 0.7523 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7463, allocations: 0.8263 MB / 0.7531 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.7466, allocations: 247.8 kB / 0.7534 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7467, allocations: 16 kB / 0.7534 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.7472, allocations: 55.94 kB / 0.7534 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.7474, allocations: 60.86 kB / 0.7535 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.7474, allocations: 31.97 kB / 0.7535 GB, free: 336 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005049/0.748, allocations: 427.1 kB / 0.7539 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.748, allocations: 2.719 kB / 0.7539 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008259/0.7488, allocations: 283.3 kB / 0.7542 GB, free: 15.64 MB / 0.5762 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001344/0.7502, allocations: 0.6046 MB / 0.7548 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.7517, allocations: 0.7465 MB / 0.7555 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7517, allocations: 0 / 0.7555 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.7525, allocations: 484.7 kB / 0.756 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.7536, allocations: 253.8 kB / 0.7562 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.7574, allocations: 2.011 MB / 0.7582 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.758, allocations: 0.9964 MB / 0.7592 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007821/0.7588, allocations: 246 kB / 0.7594 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.759, allocations: 99.39 kB / 0.7595 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.759, allocations: 0 / 0.7595 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.02232/0.7813, allocations: 13.01 MB / 0.7722 GB, free: 13.55 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)