Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, 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.001021/0.001021, allocations: 196.5 kB / 16.14 MB, free: 6.715 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.709/0.709, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.75 kB / 0.5012 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3475, allocations: 80.2 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005048/0.3526, allocations: 4.096 MB / 0.5835 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1465/0.4991, allocations: 148.1 MB / 0.7282 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.4999, allocations: 19.88 kB / 0.7282 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.5004, allocations: 131 kB / 0.7283 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5016, allocations: 393.2 kB / 0.7287 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.5032, allocations: 0.691 MB / 0.7293 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.5041, allocations: 1.094 MB / 0.7304 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.5048, allocations: 0.5939 MB / 0.731 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.5053, allocations: 370.4 kB / 0.7313 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.5057, allocations: 414 kB / 0.7317 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5058, allocations: 52 kB / 0.7318 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.5065, allocations: 391.6 kB / 0.7322 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.5068, allocations: 215.1 kB / 0.7324 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.5071, allocations: 461.3 kB / 0.7328 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.5084, allocations: 1.398 MB / 0.7342 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5084, allocations: 0 / 0.7342 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5084, allocations: 4 kB / 0.7342 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.5085, allocations: 0 / 0.7342 GB, free: 2.797 MB / 0.5606 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.002025/0.5105, allocations: 1.32 MB / 0.7355 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5105, allocations: 8.031 kB / 0.7355 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.5107, allocations: 127.1 kB / 0.7356 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.5116, allocations: 183.5 kB / 0.7358 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.5124, allocations: 0.7032 MB / 0.7365 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.5125, allocations: 58 kB / 0.7365 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.5126, allocations: 76 kB / 0.7366 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5139, allocations: 0.8559 MB / 0.7374 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.514, allocations: 3.938 kB / 0.7374 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.5141, allocations: 32 kB / 0.7375 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.5141, allocations: 20 kB / 0.7375 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5156, allocations: 1.061 MB / 0.7385 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.5192, allocations: 2.39 MB / 0.7408 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.5205, allocations: 0.7929 MB / 0.7416 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.521, allocations: 270.4 kB / 0.7419 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.5211, allocations: 32.59 kB / 0.7419 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007978/0.5219, allocations: 425.6 kB / 0.7423 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.365e-06/0.5219, allocations: 0 / 0.7423 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002784/0.5247, allocations: 1.066 MB / 0.7434 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.5248, allocations: 188.5 kB / 0.7435 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.5255, allocations: 0.5823 MB / 0.7441 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.5255, allocations: 41.64 kB / 0.7441 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.5258, allocations: 384.2 kB / 0.7445 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.526, allocations: 236.5 kB / 0.7447 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.5262, allocations: 130.2 kB / 0.7449 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5264, allocations: 382.8 kB / 0.7452 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.5268, allocations: 209.2 kB / 0.7454 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.5273, allocations: 314.8 kB / 0.7457 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009098/0.5282, allocations: 0.5234 MB / 0.7462 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5282, allocations: 3.938 kB / 0.7462 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001643/0.5299, allocations: 0.7119 MB / 0.7469 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5299, allocations: 8.094 kB / 0.7469 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5299, allocations: 0 / 0.7469 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.5305, allocations: 76.78 kB / 0.747 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.531, allocations: 143.8 kB / 0.7472 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.533, allocations: 1.524 MB / 0.7486 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.5335, allocations: 74.27 kB / 0.7487 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.5336, allocations: 31.97 kB / 0.7487 GB, free: 3.324 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (73): * Single equations (assignments): 72 * 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.0003625/0.5339, allocations: 249.6 kB / 0.749 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5341, allocations: 75.06 kB / 0.7491 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.5362, allocations: 0.9665 MB / 0.75 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5362, allocations: 8 kB / 0.75 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5362, allocations: 0 / 0.75 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5363, allocations: 3.984 kB / 0.75 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.539, allocations: 1.836 MB / 0.7518 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.539, allocations: 0 / 0.7518 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.5395, allocations: 139.9 kB / 0.7519 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.54, allocations: 84.7 kB / 0.752 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.5401, allocations: 27.92 kB / 0.752 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.5418, allocations: 1.556 MB / 0.7536 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5418, allocations: 4.031 kB / 0.7536 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5435, allocations: 0.8945 MB / 0.7544 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.5438, allocations: 259.9 kB / 0.7547 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.5439, allocations: 16 kB / 0.7547 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.5444, allocations: 55.89 kB / 0.7548 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5445, allocations: 56.91 kB / 0.7548 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.5446, allocations: 35.92 kB / 0.7548 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004583/0.545, allocations: 431 kB / 0.7553 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5451, allocations: 4 kB / 0.7553 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007217/0.5458, allocations: 279.3 kB / 0.7555 GB, free: 12.12 MB / 0.5919 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 (81): * Single equations (assignments): 78 * 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.002997/0.5488, allocations: 1.927 MB / 0.7574 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.5501, allocations: 0.7161 MB / 0.7581 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5501, allocations: 0 / 0.7581 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.5509, allocations: 484.3 kB / 0.7586 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5519, allocations: 258.2 kB / 0.7588 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.562, allocations: 6.34 MB / 0.765 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.5625, allocations: 0.9959 MB / 0.766 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006954/0.5632, allocations: 250 kB / 0.7662 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.5637, allocations: 347.3 kB / 0.7665 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5637, allocations: 0 / 0.7665 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3722/0.9359, allocations: 18.78 MB / 0.7849 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.9362, allocations: 296.3 kB / 0.7852 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.531, allocations: 3 kB / 0.7852 GB, free: 14.07 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)