Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_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.001191/0.001192, 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.001208/0.001208, allocations: 196.3 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.899/0.899, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.5 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006485/0.1359, allocations: 4.904 MB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3552/0.4911, allocations: 150.8 MB / 0.7365 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.4919, allocations: 22.47 kB / 0.7365 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.4926, allocations: 192.5 kB / 0.7367 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.4945, allocations: 0.5571 MB / 0.7373 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4965, allocations: 0.9208 MB / 0.7382 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.4982, allocations: 1.538 MB / 0.7397 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.4996, allocations: 1.152 MB / 0.7408 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008385/0.5004, allocations: 0.6796 MB / 0.7415 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.5011, allocations: 0.7366 MB / 0.7422 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.5013, allocations: 191.1 kB / 0.7424 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.5021, allocations: 0.5198 MB / 0.7429 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.5025, allocations: 441.5 kB / 0.7433 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.5031, allocations: 0.8169 MB / 0.7441 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5051, allocations: 2.263 MB / 0.7463 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5051, allocations: 0 / 0.7463 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5051, allocations: 0 / 0.7463 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.5051, allocations: 2.938 kB / 0.7463 GB, free: 5.328 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.002627/0.5077, allocations: 1.817 MB / 0.7481 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5078, allocations: 14.88 kB / 0.7481 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.508, allocations: 217.1 kB / 0.7483 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009155/0.5089, allocations: 237.6 kB / 0.7485 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.51, allocations: 0.9014 MB / 0.7494 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.5102, allocations: 140.7 kB / 0.7495 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.5103, allocations: 142.6 kB / 0.7497 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.5124, allocations: 1.463 MB / 0.7511 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.5124, allocations: 0 / 0.7511 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.5125, allocations: 65.28 kB / 0.7512 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.5125, allocations: 36.66 kB / 0.7512 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5147, allocations: 1.491 MB / 0.7527 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.5199, allocations: 3.937 MB / 0.7565 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.5214, allocations: 0.9131 MB / 0.7574 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.5219, allocations: 363.7 kB / 0.7577 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.305e-05/0.522, allocations: 45.08 kB / 0.7578 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.523, allocations: 0.5514 MB / 0.7583 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.034e-06/0.523, allocations: 0 / 0.7583 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003133/0.5261, allocations: 1.368 MB / 0.7597 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.5262, allocations: 192.9 kB / 0.7598 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.527, allocations: 0.759 MB / 0.7606 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.5271, allocations: 53.62 kB / 0.7606 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.5275, allocations: 0.5736 MB / 0.7612 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.5277, allocations: 307.5 kB / 0.7615 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.5279, allocations: 182.4 kB / 0.7617 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5281, allocations: 345.9 kB / 0.762 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.5286, allocations: 305.8 kB / 0.7623 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.5293, allocations: 431.4 kB / 0.7627 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.5305, allocations: 0.7344 MB / 0.7634 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5305, allocations: 8 kB / 0.7634 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001979/0.5325, allocations: 0.9736 MB / 0.7644 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5325, allocations: 6.656 kB / 0.7644 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5325, allocations: 4.703 kB / 0.7644 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.5331, allocations: 88.77 kB / 0.7645 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.5339, allocations: 187.7 kB / 0.7646 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.536, allocations: 1.642 MB / 0.7663 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.5367, allocations: 107.1 kB / 0.7664 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.5367, allocations: 35.97 kB / 0.7664 GB, free: 1.855 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.0003963/0.5371, allocations: 321.6 kB / 0.7667 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.5373, allocations: 102.8 kB / 0.7668 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.54, allocations: 1.282 MB / 0.768 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.54, allocations: 19.92 kB / 0.7681 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.54, allocations: 0 / 0.7681 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.54, allocations: 7.922 kB / 0.7681 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.5436, allocations: 2.495 MB / 0.7705 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5436, allocations: 0 / 0.7705 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.5443, allocations: 187.7 kB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.5447, allocations: 69.91 kB / 0.7708 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.5448, allocations: 31.98 kB / 0.7708 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.5465, allocations: 1.677 MB / 0.7724 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5465, allocations: 0 / 0.7724 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.5484, allocations: 1.117 MB / 0.7735 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.5488, allocations: 307.6 kB / 0.7738 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5489, allocations: 31.83 kB / 0.7738 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.5496, allocations: 59.94 kB / 0.7739 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5497, allocations: 72.91 kB / 0.774 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5498, allocations: 39.97 kB / 0.774 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006189/0.5504, allocations: 0.5615 MB / 0.7745 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5504, allocations: 0 / 0.7745 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008153/0.5513, allocations: 391.5 kB / 0.7749 GB, free: 8.852 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.003265/0.5545, allocations: 2.181 MB / 0.7771 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.557, allocations: 1.171 MB / 0.7782 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.557, allocations: 0 / 0.7782 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008955/0.5579, allocations: 0.5786 MB / 0.7788 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.559, allocations: 314.4 kB / 0.7791 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.5706, allocations: 8.292 MB / 0.7872 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.5712, allocations: 1.161 MB / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007847/0.572, allocations: 299.8 kB / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.5727, allocations: 0.5539 MB / 0.7891 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.5727, allocations: 0 / 0.7891 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5782/1.151, allocations: 25.34 MB / 0.8139 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.09, allocations: 3.25 kB / 0.8139 GB, free: 1.242 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)