Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.0008755/0.0008755, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004797/0.004797, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8835/0.8835, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8.875 kB / 0.5077 GB, free: 4.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 82.31 MB / 0.5881 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004329/0.1348, allocations: 3.761 MB / 0.5918 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4108/0.5456, allocations: 146.7 MB / 0.735 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007167/0.5464, allocations: 14.66 kB / 0.7351 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.547, allocations: 135.8 kB / 0.7352 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.5486, allocations: 424.5 kB / 0.7356 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.5509, allocations: 0.6825 MB / 0.7363 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.5525, allocations: 1.128 MB / 0.7374 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.5534, allocations: 0.5851 MB / 0.7379 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.554, allocations: 318.3 kB / 0.7382 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.5545, allocations: 349.4 kB / 0.7386 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.5546, allocations: 22.88 kB / 0.7386 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009014/0.5555, allocations: 367.1 kB / 0.7389 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.5557, allocations: 175.7 kB / 0.7391 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.5561, allocations: 421.5 kB / 0.7395 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5574, allocations: 1.37 MB / 0.7408 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5574, allocations: 0 / 0.7408 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5574, allocations: 0 / 0.7408 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.5575, allocations: 4 kB / 0.7409 GB, free: 12.04 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00181/0.5593, allocations: 1.138 MB / 0.742 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5593, allocations: 11.09 kB / 0.742 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.5595, allocations: 131.6 kB / 0.7421 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.5603, allocations: 200.8 kB / 0.7423 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.5612, allocations: 0.7088 MB / 0.743 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.5612, allocations: 63.5 kB / 0.743 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5614, allocations: 76.25 kB / 0.7431 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5628, allocations: 0.8947 MB / 0.744 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.5628, allocations: 3.938 kB / 0.744 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.5629, allocations: 36.78 kB / 0.744 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.5629, allocations: 19.25 kB / 0.744 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.5645, allocations: 1.101 MB / 0.7451 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.568, allocations: 2.533 MB / 0.7476 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.5691, allocations: 0.7398 MB / 0.7483 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.5696, allocations: 291.6 kB / 0.7486 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.5697, allocations: 33.47 kB / 0.7486 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007144/0.5704, allocations: 459.9 kB / 0.7491 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.5704, allocations: 0 / 0.7491 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002725/0.5731, allocations: 1.13 MB / 0.7502 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.5732, allocations: 194 kB / 0.7504 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.5739, allocations: 0.5885 MB / 0.7509 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.5739, allocations: 41.7 kB / 0.751 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.5742, allocations: 384.2 kB / 0.7513 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.5744, allocations: 252.3 kB / 0.7516 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.5745, allocations: 61.69 kB / 0.7516 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5746, allocations: 382.7 kB / 0.752 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.5751, allocations: 237.9 kB / 0.7522 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.5756, allocations: 338.2 kB / 0.7526 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.5766, allocations: 0.5667 MB / 0.7531 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.5766, allocations: 0 / 0.7531 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001655/0.5782, allocations: 0.7666 MB / 0.7539 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5783, allocations: 8 kB / 0.7539 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5783, allocations: 0 / 0.7539 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.5789, allocations: 84.83 kB / 0.7539 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.5795, allocations: 147.8 kB / 0.7541 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5813, allocations: 1.53 MB / 0.7556 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.5819, allocations: 85.67 kB / 0.7557 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.5819, allocations: 35.97 kB / 0.7557 GB, free: 416 kB / 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: 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 (81): * Single equations (assignments): 80 * 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.0003299/0.5823, allocations: 248.5 kB / 0.7559 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5824, allocations: 82.94 kB / 0.756 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.5846, allocations: 1.039 MB / 0.757 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.5846, allocations: 12 kB / 0.757 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5846, allocations: 0 / 0.757 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5846, allocations: 3.984 kB / 0.757 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.5876, allocations: 1.888 MB / 0.7589 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5876, allocations: 7.922 kB / 0.7589 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.5881, allocations: 147.8 kB / 0.759 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.5887, allocations: 85.47 kB / 0.7591 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.5887, allocations: 27.92 kB / 0.7591 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.5905, allocations: 1.549 MB / 0.7607 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5905, allocations: 0 / 0.7607 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5925, allocations: 0.9414 MB / 0.7616 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.593, allocations: 267.9 kB / 0.7618 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5931, allocations: 24.14 kB / 0.7618 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.5937, allocations: 67.94 kB / 0.7619 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5939, allocations: 64.84 kB / 0.762 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.5939, allocations: 35.97 kB / 0.762 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006036/0.5946, allocations: 447 kB / 0.7624 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5946, allocations: 0 / 0.7624 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008473/0.5954, allocations: 287.2 kB / 0.7627 GB, free: 8.969 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 (87): * Single equations (assignments): 84 * 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.003327/0.5988, allocations: 1.988 MB / 0.7647 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.6003, allocations: 0.7588 MB / 0.7654 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6003, allocations: 0 / 0.7654 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.6012, allocations: 0.4964 MB / 0.7659 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6025, allocations: 259.8 kB / 0.7661 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.6137, allocations: 6.708 MB / 0.7727 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.6143, allocations: 1.003 MB / 0.7737 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000777/0.6151, allocations: 254.5 kB / 0.7739 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6156, allocations: 363.3 kB / 0.7742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.6156, allocations: 4 kB / 0.7742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.691/2.307, allocations: 19.2 MB / 0.793 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004166/2.307, allocations: 301.5 kB / 0.7933 GB, free: 10 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/4.614, allocations: 0 / 0.7933 GB, free: 10 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)