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.0104/0.0104, allocations: 103 kB / 15.73 MB, free: 6.051 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.001987/0.001987, allocations: 197.2 kB / 16.67 MB, free: 5.98 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9653/0.9653, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 59.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4722, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005288/0.4775, allocations: 4.205 MB / 0.6683 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.6487, allocations: 150.6 MB / 0.8153 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007962/0.6495, allocations: 19.88 kB / 0.8153 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.6502, allocations: 170.4 kB / 0.8155 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.6521, allocations: 490.8 kB / 0.816 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.6541, allocations: 0.8196 MB / 0.8168 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.6555, allocations: 1.231 MB / 0.818 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.6564, allocations: 0.6334 MB / 0.8186 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.657, allocations: 458.4 kB / 0.819 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.6576, allocations: 469.9 kB / 0.8195 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.6578, allocations: 108 kB / 0.8196 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000892/0.6587, allocations: 0.4956 MB / 0.82 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.659, allocations: 275.1 kB / 0.8203 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004816/0.6595, allocations: 0.5129 MB / 0.8208 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.6612, allocations: 1.546 MB / 0.8223 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6613, allocations: 0 / 0.8223 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6613, allocations: 0 / 0.8223 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.245e-05/0.6613, allocations: 0 / 0.8223 GB, free: 15.03 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002394/0.6637, allocations: 1.365 MB / 0.8237 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6637, allocations: 8.031 kB / 0.8237 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6639, allocations: 135.4 kB / 0.8238 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.6648, allocations: 175.5 kB / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6661, allocations: 0.7498 MB / 0.8247 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.6662, allocations: 62 kB / 0.8248 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6663, allocations: 76 kB / 0.8248 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.6678, allocations: 0.8989 MB / 0.8257 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6678, allocations: 4 kB / 0.8257 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.6679, allocations: 36 kB / 0.8257 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.6679, allocations: 20 kB / 0.8258 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.6696, allocations: 1.1 MB / 0.8268 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.6736, allocations: 2.492 MB / 0.8293 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.6755, allocations: 0.8736 MB / 0.8301 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.6761, allocations: 286.7 kB / 0.8304 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/0.6762, allocations: 40.67 kB / 0.8304 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000798/0.677, allocations: 435.3 kB / 0.8308 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.677, allocations: 0 / 0.8308 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003046/0.68, allocations: 1.12 MB / 0.8319 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6802, allocations: 188.6 kB / 0.8321 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.681, allocations: 0.5979 MB / 0.8327 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.6811, allocations: 41.7 kB / 0.8327 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.6814, allocations: 392.2 kB / 0.8331 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6816, allocations: 244.4 kB / 0.8334 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.6819, allocations: 142.2 kB / 0.8335 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6821, allocations: 386.7 kB / 0.8339 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6825, allocations: 229.1 kB / 0.8341 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.6831, allocations: 334.8 kB / 0.8344 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009948/0.6841, allocations: 0.555 MB / 0.8349 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6841, allocations: 0 / 0.8349 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001806/0.6859, allocations: 0.7549 MB / 0.8357 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.686, allocations: 4 kB / 0.8357 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.686, allocations: 3.938 kB / 0.8357 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.6866, allocations: 84.72 kB / 0.8358 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.6872, allocations: 151.8 kB / 0.8359 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6894, allocations: 1.626 MB / 0.8375 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.6902, allocations: 79.33 kB / 0.8376 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6903, allocations: 31.97 kB / 0.8376 GB, free: 14.82 MB / 0.67 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.0005518/0.6909, allocations: 262.8 kB / 0.8379 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.6911, allocations: 75.06 kB / 0.8379 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6936, allocations: 1.053 MB / 0.839 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6936, allocations: 8 kB / 0.839 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6936, allocations: 3.938 kB / 0.839 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6936, allocations: 3.984 kB / 0.839 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.697, allocations: 1.943 MB / 0.8409 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6971, allocations: 4 kB / 0.8409 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.6977, allocations: 159.8 kB / 0.841 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.6981, allocations: 72.72 kB / 0.8411 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.6982, allocations: 27.98 kB / 0.8411 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.7, allocations: 1.642 MB / 0.8427 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7, allocations: 3.984 kB / 0.8427 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.702, allocations: 0.9669 MB / 0.8437 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.7024, allocations: 275.6 kB / 0.8439 GB, free: 8.074 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.7025, allocations: 24.06 kB / 0.844 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.7031, allocations: 53.81 kB / 0.844 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.7033, allocations: 64.91 kB / 0.8441 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.7033, allocations: 31.98 kB / 0.8441 GB, free: 7.906 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005492/0.7039, allocations: 443 kB / 0.8445 GB, free: 7.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7039, allocations: 0 / 0.8445 GB, free: 7.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008744/0.7048, allocations: 303.2 kB / 0.8448 GB, free: 7.184 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 (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.003417/0.7082, allocations: 2.006 MB / 0.8468 GB, free: 5.328 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.7098, allocations: 0.7667 MB / 0.8475 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7098, allocations: 0 / 0.8475 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.7107, allocations: 0.5083 MB / 0.848 GB, free: 4.027 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.7118, allocations: 293.4 kB / 0.8483 GB, free: 3.762 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.722, allocations: 6.039 MB / 0.8542 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.7227, allocations: 1.015 MB / 0.8552 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007697/0.7234, allocations: 270.4 kB / 0.8554 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.724, allocations: 363.3 kB / 0.8558 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.724, allocations: 0 / 0.8558 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3592/1.083, allocations: 20.6 MB / 0.8759 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.76, allocations: 10.91 kB / 0.8759 GB, free: 190.6 MB / 0.6856 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)