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.0007809/0.0007807, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008525/0.0008525, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9122/0.9122, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 8 kB / 0.5071 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 82.31 MB / 0.5875 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004165/0.1484, allocations: 3.6 MB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4214/0.5699, allocations: 136.8 MB / 0.7245 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.5704, allocations: 14.59 kB / 0.7246 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.5709, allocations: 130.9 kB / 0.7247 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.5721, allocations: 388.6 kB / 0.7251 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.574, allocations: 0.6435 MB / 0.7257 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.5753, allocations: 1.051 MB / 0.7267 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007693/0.5761, allocations: 485.8 kB / 0.7272 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.5766, allocations: 312.5 kB / 0.7275 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.5771, allocations: 334.8 kB / 0.7278 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.5772, allocations: 22.22 kB / 0.7278 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.578, allocations: 353.4 kB / 0.7282 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.5783, allocations: 173.2 kB / 0.7283 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.5785, allocations: 183.9 kB / 0.7285 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.5804, allocations: 1.098 MB / 0.7296 GB, free: 5.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5804, allocations: 4 kB / 0.7296 GB, free: 5.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5804, allocations: 1.188 kB / 0.7296 GB, free: 5.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.5804, allocations: 0 / 0.7296 GB, free: 5.355 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002513/0.5829, allocations: 1.169 MB / 0.7307 GB, free: 4.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.583, allocations: 9.125 kB / 0.7307 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.5832, allocations: 136.7 kB / 0.7309 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.5841, allocations: 197.2 kB / 0.731 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5851, allocations: 0.6838 MB / 0.7317 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.5852, allocations: 65.45 kB / 0.7318 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5853, allocations: 80.31 kB / 0.7318 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5869, allocations: 0.9037 MB / 0.7327 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5869, allocations: 0 / 0.7327 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.587, allocations: 36.53 kB / 0.7328 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.587, allocations: 21.38 kB / 0.7328 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.5888, allocations: 1.104 MB / 0.7339 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.5931, allocations: 2.542 MB / 0.7363 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.595, allocations: 0.8784 MB / 0.7372 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.5955, allocations: 290.7 kB / 0.7375 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.5956, allocations: 30.5 kB / 0.7375 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.5964, allocations: 459.9 kB / 0.7379 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.5964, allocations: 0 / 0.7379 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.002754/0.5992, allocations: 1.128 MB / 0.739 GB, free: 116 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5993, allocations: 187 kB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.6001, allocations: 0.6031 MB / 0.7398 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/0.6002, allocations: 41.02 kB / 0.7399 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.6005, allocations: 379.6 kB / 0.7402 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.6007, allocations: 250.1 kB / 0.7405 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.6008, allocations: 11.34 kB / 0.7405 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.601, allocations: 381.7 kB / 0.7408 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.6014, allocations: 229 kB / 0.741 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.6019, allocations: 334.5 kB / 0.7414 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.6025, allocations: 283.1 kB / 0.7416 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6025, allocations: 0 / 0.7416 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001612/0.6041, allocations: 0.7613 MB / 0.7424 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6041, allocations: 5.438 kB / 0.7424 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6041, allocations: 5.5 kB / 0.7424 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.6047, allocations: 75.88 kB / 0.7425 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.6053, allocations: 156 kB / 0.7426 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.6072, allocations: 1.51 MB / 0.7441 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.6079, allocations: 101.5 kB / 0.7442 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.608, allocations: 23.98 kB / 0.7442 GB, free: 11.75 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004908/0.6085, allocations: 253.6 kB / 0.7444 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6086, allocations: 79.06 kB / 0.7445 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.6108, allocations: 1.072 MB / 0.7456 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.6109, allocations: 15.95 kB / 0.7456 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6109, allocations: 0 / 0.7456 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6109, allocations: 3.984 kB / 0.7456 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.614, allocations: 1.944 MB / 0.7475 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.614, allocations: 0 / 0.7475 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.6146, allocations: 151.8 kB / 0.7476 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.6151, allocations: 92.77 kB / 0.7477 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.6152, allocations: 23.98 kB / 0.7477 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6169, allocations: 1.54 MB / 0.7492 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6169, allocations: 0 / 0.7492 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.6187, allocations: 0.9647 MB / 0.7502 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.6191, allocations: 283.7 kB / 0.7505 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6193, allocations: 24 kB / 0.7505 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.6199, allocations: 75.89 kB / 0.7506 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.62, allocations: 64.91 kB / 0.7506 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.6201, allocations: 39.98 kB / 0.7507 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005706/0.6206, allocations: 427 kB / 0.7511 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6207, allocations: 0 / 0.7511 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009666/0.6216, allocations: 307.2 kB / 0.7514 GB, free: 4.172 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003306/0.6249, allocations: 2.009 MB / 0.7533 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.6265, allocations: 0.7584 MB / 0.7541 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6265, allocations: 4 kB / 0.7541 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.6274, allocations: 0.5045 MB / 0.7546 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.6286, allocations: 262.6 kB / 0.7548 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.6387, allocations: 4.816 MB / 0.7595 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.6394, allocations: 1.008 MB / 0.7605 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009765/0.6404, allocations: 266.5 kB / 0.7607 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.6409, allocations: 375.3 kB / 0.7611 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.6409, allocations: 0 / 0.7611 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.6842, allocations: 20.47 MB / 0.7811 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/0.6846, allocations: 282.5 kB / 0.7814 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.965, allocations: 4 kB / 0.7814 GB, free: 5.836 MB / 0.5919 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/linux/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) Environment - environmentSimulation: