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.004867/0.004867, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001212/0.001212, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.2 MB / 422.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 58.38 kB / 0.5808 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1433, allocations: 80.22 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006569/0.1499, allocations: 4.916 MB / 0.664 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5054/0.6553, allocations: 150.8 MB / 0.8112 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008848/0.6562, allocations: 22.28 kB / 0.8112 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.6571, allocations: 198.5 kB / 0.8114 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.659, allocations: 0.5623 MB / 0.812 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.6611, allocations: 0.9367 MB / 0.8129 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.6629, allocations: 1.564 MB / 0.8144 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.6644, allocations: 1.147 MB / 0.8155 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009647/0.6654, allocations: 0.6966 MB / 0.8162 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.6664, allocations: 0.7328 MB / 0.8169 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.6668, allocations: 195.8 kB / 0.8171 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.668, allocations: 0.5403 MB / 0.8177 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.6685, allocations: 437.8 kB / 0.8181 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.6696, allocations: 0.8161 MB / 0.8189 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.6724, allocations: 2.313 MB / 0.8211 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6724, allocations: 3.984 kB / 0.8211 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6724, allocations: 0 / 0.8211 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.576e-05/0.6725, allocations: 0 / 0.8211 GB, free: 7.527 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.003474/0.676, allocations: 1.82 MB / 0.8229 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.676, allocations: 10.19 kB / 0.8229 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.6762, allocations: 218.8 kB / 0.8231 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.6772, allocations: 239.2 kB / 0.8234 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.6785, allocations: 0.926 MB / 0.8243 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.6787, allocations: 133.3 kB / 0.8244 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.6788, allocations: 143 kB / 0.8245 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.681, allocations: 1.468 MB / 0.826 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.6811, allocations: 3.75 kB / 0.826 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.6812, allocations: 60.38 kB / 0.826 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6812, allocations: 42.03 kB / 0.8261 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.6834, allocations: 1.49 MB / 0.8275 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006396/0.6898, allocations: 3.88 MB / 0.8313 GB, free: 392 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.6913, allocations: 0.9079 MB / 0.8322 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.6919, allocations: 366.8 kB / 0.8325 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.189e-05/0.692, allocations: 41.11 kB / 0.8326 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000877/0.6929, allocations: 0.546 MB / 0.8331 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.515e-06/0.6929, allocations: 2.125 kB / 0.8331 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.003242/0.6961, allocations: 1.37 MB / 0.8345 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.6962, allocations: 195 kB / 0.8346 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.6971, allocations: 0.7595 MB / 0.8354 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.6972, allocations: 46.95 kB / 0.8354 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.6977, allocations: 0.5813 MB / 0.836 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.6979, allocations: 305.5 kB / 0.8363 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.6982, allocations: 183.6 kB / 0.8365 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6983, allocations: 337.1 kB / 0.8368 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.6988, allocations: 313.2 kB / 0.8371 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.6995, allocations: 424 kB / 0.8375 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.7007, allocations: 0.7409 MB / 0.8382 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7007, allocations: 2.719 kB / 0.8382 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002076/0.7028, allocations: 0.9738 MB / 0.8392 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7028, allocations: 9.125 kB / 0.8392 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7029, allocations: 1.844 kB / 0.8392 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.7034, allocations: 98.67 kB / 0.8393 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.7042, allocations: 189.6 kB / 0.8394 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.7062, allocations: 1.643 MB / 0.8411 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.707, allocations: 101.3 kB / 0.8411 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.7071, allocations: 38.59 kB / 0.8412 GB, free: 9.586 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.0005495/0.7077, allocations: 317 kB / 0.8415 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.7079, allocations: 98.41 kB / 0.8416 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.7105, allocations: 1.291 MB / 0.8428 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.7105, allocations: 14.12 kB / 0.8429 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7105, allocations: 0 / 0.8429 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.7106, allocations: 7.969 kB / 0.8429 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.7145, allocations: 2.501 MB / 0.8453 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7145, allocations: 0 / 0.8453 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.7152, allocations: 183.7 kB / 0.8455 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.7156, allocations: 72.78 kB / 0.8456 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.7157, allocations: 23.98 kB / 0.8456 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.7175, allocations: 1.681 MB / 0.8472 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7175, allocations: 7.969 kB / 0.8472 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.7198, allocations: 1.107 MB / 0.8483 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.7203, allocations: 315.5 kB / 0.8486 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.7204, allocations: 31.84 kB / 0.8486 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.7211, allocations: 59.94 kB / 0.8487 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.7212, allocations: 76.83 kB / 0.8488 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.7213, allocations: 39.97 kB / 0.8488 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007221/0.722, allocations: 0.5615 MB / 0.8494 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.722, allocations: 0 / 0.8494 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001/0.7231, allocations: 398.6 kB / 0.8497 GB, free: 1.426 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.003485/0.7266, allocations: 2.154 MB / 0.8518 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.7285, allocations: 0.9411 MB / 0.8528 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7285, allocations: 0 / 0.8528 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.7294, allocations: 0.5784 MB / 0.8533 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.7307, allocations: 321.3 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.01315/0.7439, allocations: 7.894 MB / 0.8613 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.7447, allocations: 1.165 MB / 0.8625 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008633/0.7455, allocations: 283.9 kB / 0.8627 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.7462, allocations: 0.5578 MB / 0.8633 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.7462, allocations: 0 / 0.8633 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05534/0.8016, allocations: 25.68 MB / 0.8884 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.07, allocations: 19.05 kB / 0.8884 GB, free: 10.13 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)