Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.007509/0.007509, allocations: 100.7 kB / 15.73 MB, free: 6.488 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.001839/0.001839, allocations: 197.9 kB / 16.67 MB, free: 6.391 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 55.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4775, allocations: 80.92 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004601/0.4822, allocations: 4.067 MB / 0.6681 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.6516, allocations: 150.5 MB / 0.815 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6526, allocations: 19.88 kB / 0.8151 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008539/0.6535, allocations: 170.5 kB / 0.8152 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.6556, allocations: 475.5 kB / 0.8157 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.6581, allocations: 0.7935 MB / 0.8164 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.6598, allocations: 1.172 MB / 0.8176 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6609, allocations: 0.6146 MB / 0.8182 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007593/0.6617, allocations: 434.5 kB / 0.8186 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.6624, allocations: 442 kB / 0.819 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.6626, allocations: 104 kB / 0.8191 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6638, allocations: 479.6 kB / 0.8196 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.6641, allocations: 263.2 kB / 0.8198 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.6648, allocations: 0.4973 MB / 0.8203 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.6673, allocations: 1.487 MB / 0.8218 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6673, allocations: 0 / 0.8218 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6673, allocations: 0 / 0.8218 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.816e-05/0.6673, allocations: 0 / 0.8218 GB, free: 15.53 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003111/0.6705, allocations: 1.315 MB / 0.8231 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6705, allocations: 16.02 kB / 0.8231 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.6707, allocations: 127.1 kB / 0.8232 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009599/0.6717, allocations: 171.6 kB / 0.8234 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6728, allocations: 0.7304 MB / 0.8241 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.6729, allocations: 54 kB / 0.8241 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.6731, allocations: 80 kB / 0.8242 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.6745, allocations: 0.852 MB / 0.825 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6745, allocations: 4 kB / 0.825 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.6746, allocations: 36 kB / 0.8251 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6746, allocations: 20 kB / 0.8251 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.6762, allocations: 1.054 MB / 0.8261 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.6799, allocations: 2.363 MB / 0.8284 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6812, allocations: 0.8014 MB / 0.8292 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.6818, allocations: 270.5 kB / 0.8295 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.8e-05/0.6818, allocations: 32.5 kB / 0.8295 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/0.6825, allocations: 417.8 kB / 0.8299 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/0.6826, allocations: 0 / 0.8299 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002937/0.6855, allocations: 1.07 MB / 0.8309 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.6856, allocations: 188.5 kB / 0.8311 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.6864, allocations: 0.5822 MB / 0.8317 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.6865, allocations: 41.7 kB / 0.8317 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.6868, allocations: 376.3 kB / 0.8321 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.687, allocations: 232.6 kB / 0.8323 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.6872, allocations: 130.2 kB / 0.8324 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6874, allocations: 374.8 kB / 0.8328 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.6878, allocations: 221.2 kB / 0.833 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.6884, allocations: 314.7 kB / 0.8333 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.6893, allocations: 0.5195 MB / 0.8338 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6893, allocations: 11.88 kB / 0.8338 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001801/0.6912, allocations: 0.7042 MB / 0.8345 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6912, allocations: 4.094 kB / 0.8345 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6912, allocations: 11.92 kB / 0.8345 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.6918, allocations: 76.88 kB / 0.8346 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.6924, allocations: 135.8 kB / 0.8347 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.6947, allocations: 1.647 MB / 0.8363 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.6953, allocations: 79.45 kB / 0.8364 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.6954, allocations: 23.98 kB / 0.8364 GB, free: 15.96 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: 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.0004274/0.6958, allocations: 253.6 kB / 0.8367 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.696, allocations: 75.09 kB / 0.8367 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.6985, allocations: 0.9627 MB / 0.8377 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6985, allocations: 11.98 kB / 0.8377 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6985, allocations: 0 / 0.8377 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6985, allocations: 3.984 kB / 0.8377 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.7019, allocations: 1.837 MB / 0.8395 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7019, allocations: 11.92 kB / 0.8395 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.7025, allocations: 135.8 kB / 0.8396 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.7029, allocations: 72.73 kB / 0.8397 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.703, allocations: 19.98 kB / 0.8397 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.705, allocations: 1.666 MB / 0.8414 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.705, allocations: 0 / 0.8414 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.7068, allocations: 0.8952 MB / 0.8422 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.7072, allocations: 267.8 kB / 0.8425 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7074, allocations: 16.06 kB / 0.8425 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.7079, allocations: 47.95 kB / 0.8425 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.7081, allocations: 64.91 kB / 0.8426 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.7081, allocations: 23.98 kB / 0.8426 GB, free: 9.355 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005884/0.7087, allocations: 427.1 kB / 0.843 GB, free: 8.941 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7087, allocations: 4 kB / 0.843 GB, free: 8.938 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007959/0.7096, allocations: 279.3 kB / 0.8433 GB, free: 8.664 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 (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.003348/0.7129, allocations: 1.943 MB / 0.8452 GB, free: 6.875 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7145, allocations: 0.7162 MB / 0.8459 GB, free: 6.145 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7145, allocations: 0 / 0.8459 GB, free: 6.145 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.7155, allocations: 484.3 kB / 0.8464 GB, free: 5.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.7169, allocations: 286.8 kB / 0.8466 GB, free: 5.406 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.7284, allocations: 5.809 MB / 0.8523 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.7293, allocations: 0.9946 MB / 0.8533 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.7302, allocations: 253.9 kB / 0.8535 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.7308, allocations: 347.3 kB / 0.8539 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/0.7308, allocations: 4 kB / 0.8539 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/1.105, allocations: 19.66 MB / 0.8731 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.63, allocations: 6.953 kB / 0.8731 GB, free: 189.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)