Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",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.005284/0.005284, allocations: 102.2 kB / 15.73 MB, free: 5.996 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.001186/0.001186, allocations: 185.6 kB / 16.67 MB, free: 5.93 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.62 kB / 0.5811 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 80.21 MB / 0.6594 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009504/0.161, allocations: 7.116 MB / 0.6663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.567/0.728, allocations: 155.5 MB / 0.8182 GB, free: 3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.7292, allocations: 30.59 kB / 0.8182 GB, free: 3 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.73, allocations: 290 kB / 0.8185 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.732, allocations: 0.72 MB / 0.8192 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.7349, allocations: 1.217 MB / 0.8204 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004899/0.7398, allocations: 4.07 MB / 0.8244 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.7428, allocations: 2.459 MB / 0.8268 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.7461, allocations: 1.687 MB / 0.8284 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.7489, allocations: 1.743 MB / 0.8301 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.7496, allocations: 343.6 kB / 0.8305 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.7517, allocations: 0.949 MB / 0.8314 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.7524, allocations: 0.8922 MB / 0.8323 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.7542, allocations: 1.723 MB / 0.8339 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.7592, allocations: 4.702 MB / 0.8385 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7593, allocations: 0.625 kB / 0.8385 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7593, allocations: 0 / 0.8385 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.643e-05/0.7594, allocations: 0.75 kB / 0.8385 GB, free: 1.078 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.007749/0.7671, allocations: 4.008 MB / 0.8424 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7672, allocations: 14.09 kB / 0.8425 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004717/0.7677, allocations: 421.8 kB / 0.8429 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009106/0.7768, allocations: 1.32 MB / 0.8441 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.7811, allocations: 1.967 MB / 0.8461 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.7813, allocations: 230.6 kB / 0.8463 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007795/0.7821, allocations: 292.5 kB / 0.8466 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009461/0.7915, allocations: 4.209 MB / 0.8507 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.7916, allocations: 3.25 kB / 0.8507 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003656/0.792, allocations: 124.5 kB / 0.8508 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.792, allocations: 75.06 kB / 0.8509 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.8026, allocations: 4.596 MB / 0.8554 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.8255, allocations: 12.81 MB / 0.8679 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.8359, allocations: 3.777 MB / 0.8716 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/0.8398, allocations: 1.553 MB / 0.8731 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.8411, allocations: 1.078 MB / 0.8741 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004707/0.8458, allocations: 1.945 MB / 0.876 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 7.504e-06/0.8459, allocations: 0 / 0.876 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.01349/0.8594, allocations: 4.917 MB / 0.8808 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.8596, allocations: 259 kB / 0.8811 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.8625, allocations: 1.947 MB / 0.883 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004887/0.863, allocations: 62.45 kB / 0.883 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.8643, allocations: 1.282 MB / 0.8843 GB, free: 15.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.8653, allocations: 0.7868 MB / 0.8851 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/0.8662, allocations: 0.5134 MB / 0.8856 GB, free: 14.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.8664, allocations: 306.2 kB / 0.8858 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.8701, allocations: 1.427 MB / 0.8872 GB, free: 12.94 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/0.8742, allocations: 1.747 MB / 0.8889 GB, free: 11.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.8821, allocations: 3.162 MB / 0.892 GB, free: 7.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.8822, allocations: 0 / 0.892 GB, free: 7.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01038/0.8925, allocations: 3.704 MB / 0.8957 GB, free: 4.195 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.8926, allocations: 10.03 kB / 0.8957 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.8926, allocations: 7.938 kB / 0.8957 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.8933, allocations: 96.89 kB / 0.8958 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/0.8974, allocations: 0.7026 MB / 0.8964 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.8998, allocations: 1.635 MB / 0.898 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.9038, allocations: 449.2 kB / 0.8985 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000582/0.9044, allocations: 124 kB / 0.8986 GB, free: 1.078 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 12 (radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,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 (274): * Single equations (assignments): 273 * 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.002225/0.9066, allocations: 0.8045 MB / 0.8994 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009113/0.9076, allocations: 241.6 kB / 0.8996 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.9187, allocations: 4.024 MB / 0.9035 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.9188, allocations: 27.94 kB / 0.9036 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.9188, allocations: 0 / 0.9036 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/0.9188, allocations: 11.95 kB / 0.9036 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/0.9377, allocations: 7.191 MB / 0.9106 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.9377, allocations: 0 / 0.9106 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.9409, allocations: 0.5989 MB / 0.9112 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/0.9414, allocations: 75.98 kB / 0.9113 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.9417, allocations: 71.94 kB / 0.9113 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.9437, allocations: 1.674 MB / 0.913 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9437, allocations: 0 / 0.913 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008539/0.9522, allocations: 3.338 MB / 0.9162 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.9542, allocations: 0.6939 MB / 0.9169 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/0.9548, allocations: 71.73 kB / 0.917 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/0.9575, allocations: 271.6 kB / 0.9172 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.9578, allocations: 153.8 kB / 0.9174 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/0.958, allocations: 79.95 kB / 0.9174 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002341/0.9604, allocations: 1.474 MB / 0.9189 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9604, allocations: 0 / 0.9189 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002913/0.9633, allocations: 0.8843 MB / 0.9197 GB, free: 11.14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (251): * Single equations (assignments): 248 * 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.01088/0.9742, allocations: 4.491 MB / 0.9241 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009725/0.984, allocations: 3.348 MB / 0.9274 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.984, allocations: 0 / 0.9274 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004245/0.9883, allocations: 1.719 MB / 0.9291 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.991, allocations: 458.7 kB / 0.9295 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05471/1.046, allocations: 23.44 MB / 0.9524 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.048, allocations: 2.225 MB / 0.9546 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003639/1.051, allocations: 0.9651 MB / 0.9555 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/1.054, allocations: 1.319 MB / 0.9568 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/1.054, allocations: 0 / 0.9568 GB, free: 5.164 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:787:13-787:114:writable] Error: Internal error Failed to copy path /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/weatherdata/CustomWeatherFiles/example.txt to IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmutmp/resources//home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/weatherdata/CustomWeatherFiles Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1751/1.229, allocations: 59.12 MB / 1.015 GB, free: 10.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/17.45, allocations: 11.98 kB / 1.015 GB, free: 10.57 MB / 0.795 GB (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)