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.004215/0.004215, allocations: 102 kB / 15.73 MB, free: 6.035 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.001055/0.001055, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.78/0.78, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.67 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006623/0.1294, allocations: 4.92 MB / 0.664 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4247/0.5541, allocations: 150.8 MB / 0.8112 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007229/0.5548, allocations: 18.22 kB / 0.8112 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006197/0.5555, allocations: 190.5 kB / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.5572, allocations: 0.5664 MB / 0.812 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.559, allocations: 0.9299 MB / 0.8129 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5605, allocations: 1.557 MB / 0.8144 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5618, allocations: 1.152 MB / 0.8155 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.5626, allocations: 0.6846 MB / 0.8162 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.5632, allocations: 0.7337 MB / 0.8169 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.5634, allocations: 191.2 kB / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.5642, allocations: 0.5445 MB / 0.8176 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.5645, allocations: 438 kB / 0.8181 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.5651, allocations: 0.81 MB / 0.8188 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.567, allocations: 2.317 MB / 0.8211 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.567, allocations: 4 kB / 0.8211 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.567, allocations: 0 / 0.8211 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.567, allocations: 0 / 0.8211 GB, free: 7.523 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002705/0.5697, allocations: 1.82 MB / 0.8229 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5698, allocations: 10.06 kB / 0.8229 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.57, allocations: 217.7 kB / 0.8231 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.571, allocations: 242 kB / 0.8233 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5723, allocations: 0.9187 MB / 0.8242 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.5725, allocations: 143.9 kB / 0.8244 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.5726, allocations: 140.8 kB / 0.8245 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.5748, allocations: 1.463 MB / 0.8259 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.5748, allocations: 2.531 kB / 0.8259 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.575, allocations: 60.12 kB / 0.826 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.575, allocations: 41.22 kB / 0.826 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5773, allocations: 1.491 MB / 0.8275 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.5827, allocations: 3.881 MB / 0.8313 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.5843, allocations: 0.9112 MB / 0.8322 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.5849, allocations: 362.8 kB / 0.8325 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.585, allocations: 45.14 kB / 0.8326 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/0.5859, allocations: 0.5373 MB / 0.8331 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.524e-06/0.5859, allocations: 4 kB / 0.8331 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.003326/0.5892, allocations: 1.372 MB / 0.8344 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.5893, allocations: 199.5 kB / 0.8346 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.5902, allocations: 0.7607 MB / 0.8354 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.5903, allocations: 46.73 kB / 0.8354 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.5906, allocations: 0.5752 MB / 0.836 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.5909, allocations: 308.8 kB / 0.8363 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.5911, allocations: 179.1 kB / 0.8364 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5912, allocations: 341.8 kB / 0.8368 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.5918, allocations: 312.2 kB / 0.8371 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.5925, allocations: 432.6 kB / 0.8375 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.5938, allocations: 0.7371 MB / 0.8382 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5939, allocations: 6.047 kB / 0.8382 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002133/0.596, allocations: 0.9743 MB / 0.8391 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.596, allocations: 5.062 kB / 0.8391 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.596, allocations: 6.719 kB / 0.8392 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.5967, allocations: 86.11 kB / 0.8392 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.5975, allocations: 193.8 kB / 0.8394 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.5994, allocations: 1.643 MB / 0.841 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.6001, allocations: 98.12 kB / 0.8411 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.6002, allocations: 41.25 kB / 0.8412 GB, free: 9.578 MB / 0.6075 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.0004493/0.6007, allocations: 324.9 kB / 0.8415 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.6009, allocations: 95.69 kB / 0.8416 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.6037, allocations: 1.294 MB / 0.8428 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6038, allocations: 14.47 kB / 0.8428 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6038, allocations: 0 / 0.8428 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6038, allocations: 3.984 kB / 0.8428 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.6077, allocations: 2.503 MB / 0.8453 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6077, allocations: 0 / 0.8453 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.6085, allocations: 171.8 kB / 0.8454 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.609, allocations: 84.72 kB / 0.8455 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.609, allocations: 23.98 kB / 0.8456 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.6109, allocations: 1.67 MB / 0.8472 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6109, allocations: 0 / 0.8472 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.6131, allocations: 1.115 MB / 0.8483 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.6135, allocations: 319.5 kB / 0.8486 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6137, allocations: 27.84 kB / 0.8486 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.6144, allocations: 63.94 kB / 0.8487 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6145, allocations: 72.89 kB / 0.8487 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.6146, allocations: 40.12 kB / 0.8488 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006836/0.6153, allocations: 0.5615 MB / 0.8493 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6153, allocations: 3.938 kB / 0.8493 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009337/0.6163, allocations: 390.6 kB / 0.8497 GB, free: 1.43 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 (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.003574/0.6199, allocations: 2.175 MB / 0.8518 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.6217, allocations: 0.9333 MB / 0.8527 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6217, allocations: 0 / 0.8527 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6227, allocations: 0.5744 MB / 0.8533 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.624, allocations: 321.1 kB / 0.8536 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.6369, allocations: 7.89 MB / 0.8613 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.6376, allocations: 1.161 MB / 0.8624 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008689/0.6385, allocations: 291.9 kB / 0.8627 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.6392, allocations: 0.5578 MB / 0.8633 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of SimCode: time 1.744e-06/0.6392, allocations: 4 kB / 0.8633 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5964/1.236, allocations: 25.69 MB / 0.8883 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.59, allocations: 8.406 kB / 0.8884 GB, free: 10.14 MB / 0.6544 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)