Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0009604/0.0009605, allocations: 108 kB / 15.6 MB, free: 132 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.0009068/0.0009069, allocations: 194 kB / 16.53 MB, free: 6.391 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 65.06 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004991/0.1359, allocations: 4.193 MB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3335/0.4694, allocations: 150.6 MB / 0.7356 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.4701, allocations: 14.59 kB / 0.7356 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.4707, allocations: 172.2 kB / 0.7358 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.4724, allocations: 483.5 kB / 0.7362 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.4742, allocations: 0.828 MB / 0.7371 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.4755, allocations: 1.213 MB / 0.7382 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008808/0.4764, allocations: 0.6358 MB / 0.7389 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.477, allocations: 450 kB / 0.7393 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.4776, allocations: 471.1 kB / 0.7397 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.4779, allocations: 106.8 kB / 0.7398 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.4787, allocations: 470 kB / 0.7403 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.479, allocations: 280.6 kB / 0.7406 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.4795, allocations: 0.5058 MB / 0.7411 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.4812, allocations: 1.505 MB / 0.7425 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4812, allocations: 0 / 0.7425 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4812, allocations: 0 / 0.7425 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.072e-05/0.4812, allocations: 5.375 kB / 0.7425 GB, free: 8.156 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002502/0.4837, allocations: 1.365 MB / 0.7439 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4838, allocations: 9.625 kB / 0.7439 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.484, allocations: 132.2 kB / 0.744 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.4849, allocations: 184.2 kB / 0.7442 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009347/0.4858, allocations: 0.7137 MB / 0.7449 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.4859, allocations: 63.06 kB / 0.7449 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/0.486, allocations: 82.36 kB / 0.745 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4873, allocations: 0.9008 MB / 0.7459 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4873, allocations: 0 / 0.7459 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.4874, allocations: 38.62 kB / 0.7459 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4874, allocations: 20.84 kB / 0.7459 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.4889, allocations: 1.102 MB / 0.747 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.4923, allocations: 2.529 MB / 0.7495 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.494, allocations: 0.8698 MB / 0.7503 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.4945, allocations: 286.9 kB / 0.7506 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.4946, allocations: 36.62 kB / 0.7506 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007322/0.4953, allocations: 447.2 kB / 0.7511 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.445e-06/0.4953, allocations: 4 kB / 0.7511 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002711/0.498, allocations: 1.112 MB / 0.7522 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.4981, allocations: 192.6 kB / 0.7523 GB, free: 448 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.4988, allocations: 0.598 MB / 0.7529 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.4988, allocations: 41.7 kB / 0.753 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.4991, allocations: 376.3 kB / 0.7533 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.4992, allocations: 252.2 kB / 0.7536 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4994, allocations: 146.2 kB / 0.7537 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4996, allocations: 382.7 kB / 0.7541 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.5, allocations: 229.2 kB / 0.7543 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.5005, allocations: 334.7 kB / 0.7546 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.5014, allocations: 0.5551 MB / 0.7552 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5014, allocations: 0 / 0.7552 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001627/0.5031, allocations: 0.7549 MB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5031, allocations: 4 kB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5031, allocations: 1.25 kB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.5037, allocations: 76.84 kB / 0.756 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.5042, allocations: 147.8 kB / 0.7561 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.506, allocations: 1.639 MB / 0.7577 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.5066, allocations: 77.67 kB / 0.7578 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.5066, allocations: 31.98 kB / 0.7578 GB, free: 10.6 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: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0003073/0.5069, allocations: 253.6 kB / 0.7581 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5071, allocations: 79.06 kB / 0.7581 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.5092, allocations: 1.06 MB / 0.7592 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5092, allocations: 8 kB / 0.7592 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5092, allocations: 0 / 0.7592 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5093, allocations: 11.86 kB / 0.7592 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.5121, allocations: 1.945 MB / 0.7611 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5121, allocations: 0 / 0.7611 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.5126, allocations: 159.8 kB / 0.7612 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.513, allocations: 68.8 kB / 0.7613 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.5131, allocations: 31.97 kB / 0.7613 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.5147, allocations: 1.65 MB / 0.7629 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5147, allocations: 7.812 kB / 0.763 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.5164, allocations: 0.9608 MB / 0.7639 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5167, allocations: 263.8 kB / 0.7641 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5168, allocations: 23.98 kB / 0.7642 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.5173, allocations: 48.09 kB / 0.7642 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5175, allocations: 72.88 kB / 0.7643 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.5175, allocations: 35.98 kB / 0.7643 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004417/0.518, allocations: 439 kB / 0.7647 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.518, allocations: 0 / 0.7647 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007286/0.5187, allocations: 299.3 kB / 0.765 GB, free: 2.969 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.003009/0.5217, allocations: 2.017 MB / 0.767 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.5236, allocations: 0.9656 MB / 0.7679 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5237, allocations: 0 / 0.7679 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.5245, allocations: 0.5121 MB / 0.7684 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5255, allocations: 300.4 kB / 0.7687 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009018/0.5345, allocations: 6.235 MB / 0.7748 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.535, allocations: 1.018 MB / 0.7758 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007028/0.5357, allocations: 254.5 kB / 0.776 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.5362, allocations: 367.3 kB / 0.7764 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.5362, allocations: 0 / 0.7764 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.607/2.143, allocations: 20.38 MB / 0.7963 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/15.36, allocations: 7.688 kB / 0.7963 GB, free: 3.344 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)