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.008599/0.008599, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002182/0.002182, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.788/0.788, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.16 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 80.91 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005387/0.1328, allocations: 4.056 MB / 0.6681 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4366/0.5694, allocations: 150.4 MB / 0.815 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.57, allocations: 19.34 kB / 0.815 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.5705, allocations: 163.1 kB / 0.8152 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.5718, allocations: 478.8 kB / 0.8156 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.5733, allocations: 0.7812 MB / 0.8164 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.5742, allocations: 1.167 MB / 0.8175 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.5749, allocations: 0.5899 MB / 0.8181 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.5753, allocations: 420.4 kB / 0.8185 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.5758, allocations: 441.4 kB / 0.8189 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.5759, allocations: 99.44 kB / 0.819 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.5765, allocations: 469.9 kB / 0.8195 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.5767, allocations: 263.5 kB / 0.8197 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.5771, allocations: 495 kB / 0.8202 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5785, allocations: 1.457 MB / 0.8216 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5785, allocations: 0 / 0.8216 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5785, allocations: 6.031 kB / 0.8216 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5785, allocations: 0 / 0.8216 GB, free: 5.953 MB / 0.5919 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.001948/0.5804, allocations: 1.337 MB / 0.8229 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5805, allocations: 15.23 kB / 0.823 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.5806, allocations: 124 kB / 0.8231 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.5815, allocations: 182.8 kB / 0.8233 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5826, allocations: 0.729 MB / 0.824 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.5826, allocations: 55.84 kB / 0.824 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.5827, allocations: 82.52 kB / 0.8241 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.584, allocations: 0.8357 MB / 0.8249 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5841, allocations: 3.938 kB / 0.8249 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-05/0.5841, allocations: 34.19 kB / 0.825 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.5842, allocations: 18.56 kB / 0.825 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5857, allocations: 1.041 MB / 0.826 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.589, allocations: 2.314 MB / 0.8282 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5902, allocations: 0.7701 MB / 0.829 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.5906, allocations: 265.4 kB / 0.8293 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.5907, allocations: 32.92 kB / 0.8293 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/0.5914, allocations: 420.8 kB / 0.8297 GB, free: 304 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.5914, allocations: 0 / 0.8297 GB, free: 304 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002779/0.5942, allocations: 1.057 MB / 0.8307 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.5943, allocations: 194.6 kB / 0.8309 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.5949, allocations: 0.5753 MB / 0.8315 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.595, allocations: 38.39 kB / 0.8315 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.5953, allocations: 371.8 kB / 0.8319 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5955, allocations: 244.2 kB / 0.8321 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.5957, allocations: 135 kB / 0.8322 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5958, allocations: 376.5 kB / 0.8326 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.5962, allocations: 214.1 kB / 0.8328 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.5967, allocations: 317.7 kB / 0.8331 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.5977, allocations: 0.5068 MB / 0.8336 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5977, allocations: 0 / 0.8336 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001612/0.5993, allocations: 0.7035 MB / 0.8343 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5993, allocations: 6.875 kB / 0.8343 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5993, allocations: 2.094 kB / 0.8343 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.5999, allocations: 83.27 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.6005, allocations: 130 kB / 0.8345 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.6026, allocations: 1.638 MB / 0.8361 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.6032, allocations: 71.92 kB / 0.8361 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.6032, allocations: 25.73 kB / 0.8362 GB, free: 11.44 MB / 0.6075 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.0003401/0.6036, allocations: 249.9 kB / 0.8364 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6037, allocations: 74.69 kB / 0.8365 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6058, allocations: 0.955 MB / 0.8374 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6058, allocations: 6.938 kB / 0.8374 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.6058, allocations: 4 kB / 0.8374 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6059, allocations: 7.969 kB / 0.8374 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6087, allocations: 1.797 MB / 0.8392 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6087, allocations: 3.984 kB / 0.8392 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.6093, allocations: 133.7 kB / 0.8393 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.6097, allocations: 73.84 kB / 0.8394 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.6097, allocations: 32.02 kB / 0.8394 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.6116, allocations: 1.649 MB / 0.841 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6116, allocations: 4.062 kB / 0.841 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.6133, allocations: 0.8929 MB / 0.8419 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.6136, allocations: 251 kB / 0.8421 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6137, allocations: 12.66 kB / 0.8422 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.6143, allocations: 57.66 kB / 0.8422 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6144, allocations: 56.36 kB / 0.8423 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.6145, allocations: 36.09 kB / 0.8423 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004696/0.615, allocations: 424.3 kB / 0.8427 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.615, allocations: 0 / 0.8427 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007276/0.6157, allocations: 282.5 kB / 0.843 GB, free: 6.566 MB / 0.6075 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.00311/0.6188, allocations: 1.938 MB / 0.8449 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.6202, allocations: 0.7072 MB / 0.8456 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6203, allocations: 0 / 0.8456 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.6211, allocations: 484.6 kB / 0.846 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6223, allocations: 282 kB / 0.8463 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.6319, allocations: 5.783 MB / 0.8519 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.6325, allocations: 0.9875 MB / 0.8529 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007072/0.6332, allocations: 250 kB / 0.8531 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.6337, allocations: 343.2 kB / 0.8535 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.6337, allocations: 0 / 0.8535 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.6773, allocations: 19.48 MB / 0.8725 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.6, allocations: 9.984 kB / 0.8725 GB, free: 9.574 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)