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.009141/0.009141, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.00231/0.00231, allocations: 201.5 kB / 16.68 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7985/0.7985, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 61.75 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1555, allocations: 80.92 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006798/0.1624, allocations: 4.219 MB / 0.6683 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5418/0.7042, allocations: 150.6 MB / 0.8153 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.705, allocations: 15.78 kB / 0.8153 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.7055, allocations: 170.4 kB / 0.8155 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.7071, allocations: 486.4 kB / 0.8159 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.709, allocations: 0.8285 MB / 0.8167 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.7103, allocations: 1.228 MB / 0.8179 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.7111, allocations: 0.6313 MB / 0.8186 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.7117, allocations: 462.1 kB / 0.819 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.7122, allocations: 468.9 kB / 0.8194 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.7123, allocations: 107.3 kB / 0.8196 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.7132, allocations: 496.7 kB / 0.82 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.7134, allocations: 283.7 kB / 0.8203 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.7138, allocations: 0.5079 MB / 0.8208 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.7153, allocations: 1.535 MB / 0.8223 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7153, allocations: 7.984 kB / 0.8223 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7153, allocations: 0 / 0.8223 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7154, allocations: 2.219 kB / 0.8223 GB, free: 5.578 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002023/0.7174, allocations: 1.36 MB / 0.8236 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7174, allocations: 11.36 kB / 0.8236 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.7176, allocations: 133.6 kB / 0.8238 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.7184, allocations: 184.3 kB / 0.8239 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7194, allocations: 0.7388 MB / 0.8247 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.7195, allocations: 61.94 kB / 0.8247 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.7196, allocations: 77.53 kB / 0.8248 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.721, allocations: 0.9038 MB / 0.8257 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.721, allocations: 0 / 0.8257 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.7211, allocations: 38.41 kB / 0.8257 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.7211, allocations: 24.16 kB / 0.8257 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.7226, allocations: 1.098 MB / 0.8268 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.7263, allocations: 2.496 MB / 0.8292 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.7281, allocations: 0.8654 MB / 0.8301 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.7286, allocations: 287.9 kB / 0.8304 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.7286, allocations: 41.95 kB / 0.8304 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000703/0.7294, allocations: 442.1 kB / 0.8308 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.284e-06/0.7294, allocations: 0 / 0.8308 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002837/0.7322, allocations: 1.12 MB / 0.8319 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.7323, allocations: 188.3 kB / 0.8321 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.733, allocations: 0.5954 MB / 0.8327 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.733, allocations: 40.42 kB / 0.8327 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.7333, allocations: 392.2 kB / 0.8331 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.7335, allocations: 249.6 kB / 0.8333 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.7338, allocations: 146.8 kB / 0.8335 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7339, allocations: 380.5 kB / 0.8338 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.7344, allocations: 226.3 kB / 0.8341 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.7349, allocations: 338.2 kB / 0.8344 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/0.7359, allocations: 0.5491 MB / 0.8349 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7359, allocations: 7.938 kB / 0.8349 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001748/0.7377, allocations: 0.7475 MB / 0.8357 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7377, allocations: 7.688 kB / 0.8357 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7377, allocations: 3.75 kB / 0.8357 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.7383, allocations: 83.7 kB / 0.8357 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.7389, allocations: 148 kB / 0.8359 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.7409, allocations: 1.626 MB / 0.8375 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.7416, allocations: 85.3 kB / 0.8376 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.7416, allocations: 29.47 kB / 0.8376 GB, free: 10.64 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: 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.0003967/0.742, allocations: 254.6 kB / 0.8378 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.7422, allocations: 84.62 kB / 0.8379 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.7444, allocations: 1.055 MB / 0.8389 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7444, allocations: 9.75 kB / 0.8389 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7444, allocations: 0 / 0.8389 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7445, allocations: 10.7 kB / 0.839 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.7476, allocations: 1.936 MB / 0.8408 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.7476, allocations: 4 kB / 0.8408 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.7482, allocations: 160.1 kB / 0.841 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.7486, allocations: 70.78 kB / 0.8411 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.7487, allocations: 22.86 kB / 0.8411 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.7505, allocations: 1.654 MB / 0.8427 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7505, allocations: 0 / 0.8427 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.7523, allocations: 0.9603 MB / 0.8436 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.7527, allocations: 271.4 kB / 0.8439 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.7528, allocations: 27.38 kB / 0.8439 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.7534, allocations: 53.06 kB / 0.844 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7535, allocations: 65.31 kB / 0.844 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.7535, allocations: 28.42 kB / 0.8441 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004767/0.754, allocations: 438.8 kB / 0.8445 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.754, allocations: 0 / 0.8445 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008017/0.7548, allocations: 310.9 kB / 0.8448 GB, free: 5.578 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 (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.003246/0.7581, allocations: 2.022 MB / 0.8468 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.7596, allocations: 0.7639 MB / 0.8475 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7596, allocations: 0 / 0.8475 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.7605, allocations: 0.5042 MB / 0.848 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.7617, allocations: 292.3 kB / 0.8483 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/0.7715, allocations: 6.023 MB / 0.8542 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.7721, allocations: 1.015 MB / 0.8551 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007915/0.7729, allocations: 262.4 kB / 0.8554 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.7733, allocations: 367.3 kB / 0.8557 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.7734, allocations: 0 / 0.8557 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.8177, allocations: 21 MB / 0.8763 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.14, allocations: 6.516 kB / 0.8763 GB, free: 5.738 MB / 0.6387 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)