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.007249/0.00725, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001709/0.001709, allocations: 195.1 kB / 16.68 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.978/0.978, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.91 kB / 0.5853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3625, allocations: 80.91 MB / 0.6644 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.006715/0.3692, allocations: 7.115 MB / 0.6713 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.5256, allocations: 155.5 MB / 0.8232 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.527, allocations: 31.81 kB / 0.8232 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5281, allocations: 281.1 kB / 0.8235 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.5306, allocations: 0.7204 MB / 0.8242 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.5335, allocations: 1.214 MB / 0.8254 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004353/0.5379, allocations: 4.071 MB / 0.8294 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.5413, allocations: 2.638 MB / 0.8319 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.544, allocations: 1.677 MB / 0.8336 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.5461, allocations: 1.731 MB / 0.8353 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008429/0.547, allocations: 340 kB / 0.8356 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.549, allocations: 0.9445 MB / 0.8365 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009684/0.55, allocations: 0.8954 MB / 0.8374 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.5518, allocations: 1.721 MB / 0.8391 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.5565, allocations: 4.662 MB / 0.8436 GB, free: 9.203 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5566, allocations: 0 / 0.8436 GB, free: 9.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5566, allocations: 3.938 kB / 0.8436 GB, free: 9.199 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.454e-05/0.5566, allocations: 0 / 0.8436 GB, free: 9.199 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.007105/0.5637, allocations: 3.981 MB / 0.8475 GB, free: 5.145 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5638, allocations: 12.03 kB / 0.8475 GB, free: 5.133 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004791/0.5643, allocations: 425.8 kB / 0.8479 GB, free: 4.707 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009306/0.5736, allocations: 1.309 MB / 0.8492 GB, free: 3.395 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.5773, allocations: 1.928 MB / 0.8511 GB, free: 1.414 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5775, allocations: 226.1 kB / 0.8513 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/0.578, allocations: 300 kB / 0.8516 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008138/0.5861, allocations: 4.212 MB / 0.8557 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/0.5862, allocations: 3.938 kB / 0.8557 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.5865, allocations: 124 kB / 0.8558 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.5866, allocations: 76 kB / 0.8559 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009898/0.5965, allocations: 4.569 MB / 0.8604 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3101/0.9066, allocations: 12.78 MB / 0.8728 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009901/0.9166, allocations: 3.771 MB / 0.8765 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.9204, allocations: 1.554 MB / 0.878 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009302/0.9214, allocations: 1.081 MB / 0.8791 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003721/0.9251, allocations: 1.942 MB / 0.881 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 3.868e-06/0.9251, allocations: 0 / 0.881 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01189/0.937, allocations: 4.919 MB / 0.8858 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.9371, allocations: 259.6 kB / 0.886 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.9395, allocations: 1.907 MB / 0.8879 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.9397, allocations: 62.42 kB / 0.888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/0.9405, allocations: 1.258 MB / 0.8892 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.941, allocations: 0.7798 MB / 0.8899 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/0.9417, allocations: 0.5143 MB / 0.8905 GB, free: 175 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.9418, allocations: 302.3 kB / 0.8907 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/0.9451, allocations: 1.425 MB / 0.8921 GB, free: 174 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.9486, allocations: 1.755 MB / 0.8938 GB, free: 172.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006737/0.9554, allocations: 3.178 MB / 0.8969 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9554, allocations: 2.922 kB / 0.897 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008561/0.964, allocations: 3.689 MB / 0.9006 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.964, allocations: 8.062 kB / 0.9006 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.964, allocations: 5.469 kB / 0.9006 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.9646, allocations: 97.91 kB / 0.9007 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.968, allocations: 0.7122 MB / 0.9014 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.9696, allocations: 1.643 MB / 0.903 GB, free: 167.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.9727, allocations: 443.7 kB / 0.9034 GB, free: 167.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.973, allocations: 125.1 kB / 0.9035 GB, free: 167.2 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.00137/0.9743, allocations: 0.7889 MB / 0.9043 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/0.9748, allocations: 238.5 kB / 0.9045 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008351/0.9832, allocations: 4.026 MB / 0.9084 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.9832, allocations: 23.62 kB / 0.9085 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9832, allocations: 0 / 0.9085 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.9833, allocations: 11.95 kB / 0.9085 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.9946, allocations: 7.191 MB / 0.9155 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.9947, allocations: 0 / 0.9155 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/0.9973, allocations: 0.5928 MB / 0.9161 GB, free: 158 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.9978, allocations: 76.8 kB / 0.9161 GB, free: 158 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.9979, allocations: 71.88 kB / 0.9162 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.9994, allocations: 1.657 MB / 0.9178 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9994, allocations: 4 kB / 0.9178 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006669/1.006, allocations: 3.338 MB / 0.9211 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.007, allocations: 0.6876 MB / 0.9218 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.008, allocations: 63.5 kB / 0.9218 GB, free: 152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.01, allocations: 273.9 kB / 0.9221 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.01, allocations: 161.7 kB / 0.9222 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.01, allocations: 84.09 kB / 0.9223 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001586/1.012, allocations: 1.446 MB / 0.9237 GB, free: 150 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 4 kB / 0.9237 GB, free: 150 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001887/1.014, allocations: 0.8862 MB / 0.9246 GB, free: 149.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.008021/1.022, allocations: 4.484 MB / 0.929 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006758/1.029, allocations: 3.35 MB / 0.9323 GB, free: 141.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.029, allocations: 0 / 0.9323 GB, free: 141.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003099/1.032, allocations: 1.716 MB / 0.9339 GB, free: 139.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/1.034, allocations: 459.8 kB / 0.9344 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/1.071, allocations: 23.25 MB / 0.9571 GB, free: 115.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.072, allocations: 2.209 MB / 0.9592 GB, free: 113.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002599/1.075, allocations: 0.9345 MB / 0.9601 GB, free: 112.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/1.076, allocations: 1.311 MB / 0.9614 GB, free: 111.2 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/1.076, allocations: 0 / 0.9614 GB, free: 111.2 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.0854/1.162, allocations: 58.67 MB / 1.019 GB, free: 52.88 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.25, allocations: 8.047 kB / 1.019 GB, free: 52.87 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)