Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_dev_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.007876/0.007876, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001995/0.001995, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002095, allocations: 63.83 kB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 81.02 MB / 0.6651 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007676/0.3819, allocations: 7.1 MB / 0.672 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1956/0.5775, allocations: 155.5 MB / 0.8239 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.579, allocations: 35.75 kB / 0.8239 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.58, allocations: 285.1 kB / 0.8242 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.5825, allocations: 0.7108 MB / 0.8249 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.5853, allocations: 1.21 MB / 0.8261 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004697/0.59, allocations: 4.071 MB / 0.8301 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.5934, allocations: 2.638 MB / 0.8326 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.5963, allocations: 1.63 MB / 0.8342 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.5985, allocations: 1.742 MB / 0.8359 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000555/0.599, allocations: 344 kB / 0.8363 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.6009, allocations: 0.9484 MB / 0.8372 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008648/0.6018, allocations: 0.8837 MB / 0.838 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.6037, allocations: 1.717 MB / 0.8397 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.6093, allocations: 4.666 MB / 0.8443 GB, free: 8.605 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6093, allocations: 0 / 0.8443 GB, free: 8.605 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6093, allocations: 0 / 0.8443 GB, free: 8.605 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.416e-05/0.6093, allocations: 4 kB / 0.8443 GB, free: 8.602 MB / 0.67 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.007632/0.617, allocations: 3.977 MB / 0.8482 GB, free: 4.551 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.617, allocations: 11.97 kB / 0.8482 GB, free: 4.539 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005719/0.6176, allocations: 429.8 kB / 0.8486 GB, free: 4.109 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009504/0.6271, allocations: 1.313 MB / 0.8499 GB, free: 2.793 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.6317, allocations: 1.932 MB / 0.8518 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.632, allocations: 230.1 kB / 0.852 GB, free: 0.582 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.6326, allocations: 292 kB / 0.8522 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009516/0.6421, allocations: 4.208 MB / 0.8564 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/0.6422, allocations: 7.938 kB / 0.8564 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.6426, allocations: 128 kB / 0.8565 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.6426, allocations: 72 kB / 0.8566 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.6536, allocations: 4.561 MB / 0.861 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.9468, allocations: 12.78 MB / 0.8735 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009869/0.9567, allocations: 3.782 MB / 0.8772 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.9604, allocations: 1.559 MB / 0.8787 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.9613, allocations: 1.08 MB / 0.8798 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003685/0.965, allocations: 1.935 MB / 0.8816 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 4.268e-06/0.965, allocations: 6.344 kB / 0.8817 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01186/0.9769, allocations: 4.921 MB / 0.8865 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.977, allocations: 255 kB / 0.8867 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.9793, allocations: 1.904 MB / 0.8886 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.9795, allocations: 62.42 kB / 0.8886 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/0.9803, allocations: 1.26 MB / 0.8899 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.9808, allocations: 0.7823 MB / 0.8906 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.9815, allocations: 0.5138 MB / 0.8911 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.9816, allocations: 306.2 kB / 0.8914 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.9849, allocations: 1.425 MB / 0.8928 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.9884, allocations: 1.752 MB / 0.8945 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/0.9952, allocations: 3.18 MB / 0.8976 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.9952, allocations: 1.156 kB / 0.8976 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008719/1.004, allocations: 3.687 MB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.004, allocations: 12.09 kB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.004, allocations: 8.844 kB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/1.005, allocations: 91.08 kB / 0.9013 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/1.008, allocations: 0.7109 MB / 0.902 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/1.009, allocations: 1.641 MB / 0.9036 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.012, allocations: 447.6 kB / 0.904 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.013, allocations: 119.8 kB / 0.9042 GB, free: 166.7 MB / 0.6856 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.00134/1.014, allocations: 0.7993 MB / 0.9049 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/1.014, allocations: 238.4 kB / 0.9052 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008443/1.023, allocations: 4.021 MB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.023, allocations: 26.06 kB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.023, allocations: 3.938 kB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/1.023, allocations: 11.95 kB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.034, allocations: 7.172 MB / 0.9161 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.034, allocations: 0 / 0.9161 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/1.037, allocations: 0.5968 MB / 0.9167 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/1.037, allocations: 80.78 kB / 0.9168 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.038, allocations: 67.94 kB / 0.9169 GB, free: 156.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/1.039, allocations: 1.664 MB / 0.9185 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.039, allocations: 0 / 0.9185 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/1.046, allocations: 3.338 MB / 0.9218 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.047, allocations: 0.6861 MB / 0.9224 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006554/1.048, allocations: 66.66 kB / 0.9225 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.051, allocations: 278.1 kB / 0.9228 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.051, allocations: 157.8 kB / 0.9229 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.051, allocations: 83.94 kB / 0.923 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0018/1.053, allocations: 1.438 MB / 0.9244 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/1.053, allocations: 0 / 0.9244 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001985/1.055, allocations: 0.8901 MB / 0.9253 GB, free: 148.1 MB / 0.6856 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.008794/1.064, allocations: 4.478 MB / 0.9296 GB, free: 143.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007028/1.071, allocations: 3.358 MB / 0.9329 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/1.071, allocations: 0 / 0.9329 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003212/1.074, allocations: 1.724 MB / 0.9346 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.076, allocations: 464.8 kB / 0.935 GB, free: 138.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04082/1.117, allocations: 23.24 MB / 0.9577 GB, free: 114.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.118, allocations: 2.209 MB / 0.9599 GB, free: 112.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002755/1.121, allocations: 0.9461 MB / 0.9608 GB, free: 111.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.123, allocations: 1.307 MB / 0.9621 GB, free: 110.1 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/1.123, allocations: 0 / 0.9621 GB, free: 110.1 MB / 0.6856 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-master/Resources/weatherdata/CustomWeatherFiles/example.txt to IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmutmp/resources//home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/CustomWeatherFiles Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09082/1.214, allocations: 58.67 MB / 1.019 GB, free: 51.79 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/17.2, allocations: 10.5 kB / 1.019 GB, free: 51.78 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)