Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.172/1.172, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6539/0.6539, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 72.16 kB / 0.5019 GB, free: 8.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1166, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005403/0.1221, allocations: 4.917 MB / 0.585 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3095/0.4315, allocations: 150.8 MB / 0.7323 GB, free: 356 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.4321, allocations: 18.53 kB / 0.7323 GB, free: 352 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.4326, allocations: 191.6 kB / 0.7325 GB, free: 220 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.4338, allocations: 0.5695 MB / 0.733 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.4354, allocations: 0.9179 MB / 0.7339 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.4365, allocations: 1.538 MB / 0.7354 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.4376, allocations: 1.156 MB / 0.7365 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.4381, allocations: 0.6782 MB / 0.7372 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.4387, allocations: 0.7316 MB / 0.7379 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.4389, allocations: 194.5 kB / 0.7381 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.4394, allocations: 0.5267 MB / 0.7386 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4397, allocations: 430.2 kB / 0.739 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.4402, allocations: 0.8172 MB / 0.7398 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4418, allocations: 2.256 MB / 0.742 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4418, allocations: 1.375 kB / 0.742 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4418, allocations: 0 / 0.742 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.4418, allocations: 0 / 0.742 GB, free: 10.66 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002309/0.4441, allocations: 1.829 MB / 0.7438 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.4441, allocations: 9.625 kB / 0.7438 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.4443, allocations: 213.1 kB / 0.744 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.4452, allocations: 242.3 kB / 0.7443 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.4461, allocations: 0.9007 MB / 0.7451 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4462, allocations: 145.5 kB / 0.7453 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.4464, allocations: 138.8 kB / 0.7454 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.4482, allocations: 1.463 MB / 0.7468 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4483, allocations: 6.234 kB / 0.7468 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.4484, allocations: 64.66 kB / 0.7469 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.4484, allocations: 36.78 kB / 0.7469 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4504, allocations: 1.5 MB / 0.7484 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.4551, allocations: 3.929 MB / 0.7522 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4565, allocations: 0.9015 MB / 0.7531 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.457, allocations: 371.6 kB / 0.7535 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.417e-05/0.4571, allocations: 41.02 kB / 0.7535 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008379/0.458, allocations: 0.5475 MB / 0.7541 GB, free: 336 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 1.863e-06/0.458, allocations: 0 / 0.7541 GB, free: 336 kB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.002885/0.4609, allocations: 1.38 MB / 0.7554 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.4609, allocations: 192.9 kB / 0.7556 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.4617, allocations: 0.7591 MB / 0.7563 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.4617, allocations: 45.7 kB / 0.7564 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.4621, allocations: 0.5736 MB / 0.7569 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.4623, allocations: 315.4 kB / 0.7572 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.4625, allocations: 174.5 kB / 0.7574 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.4626, allocations: 349.9 kB / 0.7577 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.4631, allocations: 305.8 kB / 0.758 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.4637, allocations: 433.2 kB / 0.7584 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4649, allocations: 0.7422 MB / 0.7592 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4649, allocations: 0 / 0.7592 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001847/0.4667, allocations: 0.9736 MB / 0.7601 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4667, allocations: 4 kB / 0.7601 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4667, allocations: 0 / 0.7601 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.4673, allocations: 96.7 kB / 0.7602 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.468, allocations: 179.8 kB / 0.7604 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.4697, allocations: 1.649 MB / 0.762 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.4702, allocations: 95.12 kB / 0.7621 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.4703, allocations: 44.03 kB / 0.7621 GB, free: 7.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0003534/0.4707, allocations: 319.1 kB / 0.7624 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.4708, allocations: 95.72 kB / 0.7625 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.4733, allocations: 1.294 MB / 0.7638 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.4733, allocations: 15.94 kB / 0.7638 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.4733, allocations: 0 / 0.7638 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.4733, allocations: 3.984 kB / 0.7638 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.4766, allocations: 2.491 MB / 0.7662 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4766, allocations: 4 kB / 0.7662 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.4772, allocations: 183.7 kB / 0.7664 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003876/0.4776, allocations: 76.78 kB / 0.7665 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.4777, allocations: 30.11 kB / 0.7665 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.4792, allocations: 1.683 MB / 0.7682 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4792, allocations: 4 kB / 0.7682 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4811, allocations: 1.109 MB / 0.7692 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.4814, allocations: 315.5 kB / 0.7695 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4815, allocations: 27.94 kB / 0.7696 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.4822, allocations: 66.44 kB / 0.7696 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4823, allocations: 76.83 kB / 0.7697 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/0.4824, allocations: 35.98 kB / 0.7697 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005642/0.4829, allocations: 0.5615 MB / 0.7703 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4829, allocations: 0 / 0.7703 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000713/0.4837, allocations: 390.5 kB / 0.7707 GB, free: 14.75 MB / 0.5919 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 (107): * Single equations (assignments): 104 * 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.003054/0.4867, allocations: 2.174 MB / 0.7728 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.489, allocations: 1.159 MB / 0.7739 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.489, allocations: 8.25 kB / 0.7739 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.4899, allocations: 0.5821 MB / 0.7745 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.491, allocations: 298.6 kB / 0.7748 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5019, allocations: 8.309 MB / 0.7829 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.5024, allocations: 1.166 MB / 0.784 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007322/0.5032, allocations: 295.3 kB / 0.7843 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.5038, allocations: 0.5578 MB / 0.7849 GB, free: 148 kB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5038, allocations: 4 kB / 0.7849 GB, free: 144 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/0.8295, allocations: 25.32 MB / 0.8096 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.64, allocations: 10.78 kB / 0.8096 GB, free: 7.18 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)