Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0009846/0.0009846, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009836/0.0009837, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.206/1.206, 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-master/package.mo): time 0.8211/0.8211, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 60.8 kB / 0.5048 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 80.93 MB / 0.5838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004814/0.1307, allocations: 4.056 MB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.346/0.4767, allocations: 148.1 MB / 0.7324 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.4773, allocations: 14.44 kB / 0.7324 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.4779, allocations: 134.5 kB / 0.7326 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.4792, allocations: 401.6 kB / 0.733 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.4808, allocations: 0.6708 MB / 0.7336 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.4819, allocations: 1.072 MB / 0.7347 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007757/0.4827, allocations: 0.5822 MB / 0.7352 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.4832, allocations: 359 kB / 0.7356 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.4836, allocations: 410.1 kB / 0.736 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4837, allocations: 49.69 kB / 0.736 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.4844, allocations: 392.6 kB / 0.7364 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4846, allocations: 211.7 kB / 0.7366 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.485, allocations: 440.8 kB / 0.737 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.4861, allocations: 1.374 MB / 0.7383 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4861, allocations: 4 kB / 0.7383 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4861, allocations: 3.062 kB / 0.7383 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.4861, allocations: 0 / 0.7383 GB, free: 11.42 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001874/0.488, allocations: 1.312 MB / 0.7396 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.488, allocations: 9.375 kB / 0.7396 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4882, allocations: 120.4 kB / 0.7398 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.489, allocations: 182 kB / 0.7399 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.4899, allocations: 0.6971 MB / 0.7406 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.4899, allocations: 56.28 kB / 0.7407 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.49, allocations: 73.09 kB / 0.7407 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.4913, allocations: 0.8409 MB / 0.7416 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4913, allocations: 1.375 kB / 0.7416 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.4914, allocations: 32.25 kB / 0.7416 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4914, allocations: 17.88 kB / 0.7416 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.493, allocations: 1.05 MB / 0.7426 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.496, allocations: 2.326 MB / 0.7449 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4971, allocations: 0.7768 MB / 0.7457 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.4975, allocations: 267.5 kB / 0.7459 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.4976, allocations: 29.81 kB / 0.7459 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/0.4982, allocations: 421.7 kB / 0.7463 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.724e-06/0.4983, allocations: 0 / 0.7463 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002643/0.5009, allocations: 1.049 MB / 0.7474 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.501, allocations: 197.4 kB / 0.7476 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.5016, allocations: 0.5857 MB / 0.7481 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.5016, allocations: 37.7 kB / 0.7482 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.5019, allocations: 368.3 kB / 0.7485 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5021, allocations: 232.5 kB / 0.7487 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.5022, allocations: 130.2 kB / 0.7489 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5024, allocations: 378.8 kB / 0.7492 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.5028, allocations: 209.2 kB / 0.7494 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.5033, allocations: 310.8 kB / 0.7497 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.5042, allocations: 0.5078 MB / 0.7502 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5042, allocations: 8 kB / 0.7502 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001575/0.5058, allocations: 0.6963 MB / 0.7509 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5058, allocations: 7.984 kB / 0.7509 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5058, allocations: 5.75 kB / 0.7509 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.5064, allocations: 76.88 kB / 0.751 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.5069, allocations: 135.8 kB / 0.7511 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5088, allocations: 1.501 MB / 0.7526 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.5093, allocations: 91.73 kB / 0.7527 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5093, allocations: 23.98 kB / 0.7527 GB, free: 15.78 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.0002965/0.5096, allocations: 248.2 kB / 0.7529 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5098, allocations: 79.05 kB / 0.753 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.5118, allocations: 0.9544 MB / 0.7539 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5119, allocations: 8 kB / 0.7539 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5119, allocations: 0 / 0.7539 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5119, allocations: 3.984 kB / 0.7539 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.5146, allocations: 1.801 MB / 0.7557 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5146, allocations: 0 / 0.7557 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.5151, allocations: 135.8 kB / 0.7558 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.5156, allocations: 84.77 kB / 0.7559 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.5157, allocations: 23.98 kB / 0.7559 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.5173, allocations: 1.544 MB / 0.7574 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5174, allocations: 4.031 kB / 0.7575 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.519, allocations: 0.8829 MB / 0.7583 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.5193, allocations: 251.8 kB / 0.7586 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5194, allocations: 19.98 kB / 0.7586 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.52, allocations: 47.95 kB / 0.7586 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5201, allocations: 60.91 kB / 0.7587 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.5202, allocations: 31.98 kB / 0.7587 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004489/0.5206, allocations: 424.8 kB / 0.7591 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5206, allocations: 3.938 kB / 0.7591 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006705/0.5213, allocations: 279.2 kB / 0.7594 GB, free: 8.688 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 (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.003004/0.5243, allocations: 1.922 MB / 0.7613 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.5256, allocations: 0.6957 MB / 0.7619 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5256, allocations: 4 kB / 0.7619 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.5264, allocations: 488.9 kB / 0.7624 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5275, allocations: 251 kB / 0.7626 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5376, allocations: 6.277 MB / 0.7688 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.5382, allocations: 0.9928 MB / 0.7697 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007011/0.5389, allocations: 250 kB / 0.77 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.5393, allocations: 339.3 kB / 0.7703 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.5393, allocations: 0 / 0.7703 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8388/1.378, allocations: 18.6 MB / 0.7885 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.378, allocations: 306.1 kB / 0.7888 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.538, allocations: 0 / 0.7888 GB, free: 10.93 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)