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.0009246/0.0009246, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00526/0.00526, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8.906 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3558, allocations: 81.59 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.006697/0.3626, allocations: 6.587 MB / 0.5902 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1541/0.5167, allocations: 151.6 MB / 0.7382 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.5181, allocations: 27.88 kB / 0.7382 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.5188, allocations: 210.2 kB / 0.7384 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.5207, allocations: 0.5938 MB / 0.739 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.5232, allocations: 1.064 MB / 0.74 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003623/0.5268, allocations: 3.891 MB / 0.7438 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.5296, allocations: 2.348 MB / 0.7461 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.5319, allocations: 1.118 MB / 0.7472 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5332, allocations: 1.254 MB / 0.7485 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.5334, allocations: 76 kB / 0.7485 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.5347, allocations: 0.6555 MB / 0.7492 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.5352, allocations: 0.5323 MB / 0.7497 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.5363, allocations: 1.336 MB / 0.751 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.5397, allocations: 4.227 MB / 0.7551 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5397, allocations: 0 / 0.7551 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5397, allocations: 0 / 0.7551 GB, free: 144 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.505e-05/0.5397, allocations: 4 kB / 0.7551 GB, free: 140 kB / 0.5762 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.005534/0.5453, allocations: 3.195 MB / 0.7582 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5453, allocations: 12.03 kB / 0.7583 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004518/0.5458, allocations: 429.8 kB / 0.7587 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.5544, allocations: 1.365 MB / 0.76 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.557, allocations: 1.907 MB / 0.7619 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.5572, allocations: 230.1 kB / 0.7621 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.5576, allocations: 292 kB / 0.7624 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/0.565, allocations: 4.243 MB / 0.7665 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.5651, allocations: 4 kB / 0.7665 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.5654, allocations: 128 kB / 0.7666 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.5654, allocations: 72 kB / 0.7667 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.5752, allocations: 4.647 MB / 0.7712 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.5937, allocations: 12.92 MB / 0.7839 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009924/0.6036, allocations: 3.78 MB / 0.7875 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.6076, allocations: 1.561 MB / 0.7891 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6089, allocations: 1.089 MB / 0.7901 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004297/0.6132, allocations: 1.944 MB / 0.792 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 3.817e-06/0.6132, allocations: 0 / 0.792 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01289/0.6261, allocations: 4.929 MB / 0.7968 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.6263, allocations: 257.3 kB / 0.7971 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.629, allocations: 1.955 MB / 0.799 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.6294, allocations: 65.7 kB / 0.7991 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000993/0.6304, allocations: 1.24 MB / 0.8003 GB, free: 472 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.6311, allocations: 0.7431 MB / 0.801 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.6314, allocations: 182 kB / 0.8012 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.6315, allocations: 305.1 kB / 0.8015 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.6351, allocations: 1.433 MB / 0.8029 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/0.6392, allocations: 1.759 MB / 0.8046 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007656/0.6468, allocations: 3.186 MB / 0.8077 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6469, allocations: 3.938 kB / 0.8077 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009347/0.6562, allocations: 3.708 MB / 0.8113 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.6563, allocations: 8 kB / 0.8113 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.6563, allocations: 4 kB / 0.8113 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.6569, allocations: 97.23 kB / 0.8114 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.6605, allocations: 0.7059 MB / 0.8121 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.6626, allocations: 1.524 MB / 0.8136 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/0.6661, allocations: 441.5 kB / 0.814 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.6664, allocations: 131.8 kB / 0.8141 GB, free: 1.895 MB / 0.6387 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.001548/0.6679, allocations: 0.7978 MB / 0.8149 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/0.6684, allocations: 237.1 kB / 0.8152 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2554/0.9238, allocations: 4.04 MB / 0.8191 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.9239, allocations: 28.45 kB / 0.8191 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9239, allocations: 4.203 kB / 0.8191 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/0.9239, allocations: 13.17 kB / 0.8191 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9373, allocations: 7.237 MB / 0.8262 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.9374, allocations: 4.031 kB / 0.8262 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.9402, allocations: 0.6004 MB / 0.8268 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005282/0.9407, allocations: 90.16 kB / 0.8269 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.9409, allocations: 67.41 kB / 0.8269 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.9424, allocations: 1.548 MB / 0.8285 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9424, allocations: 7.844 kB / 0.8285 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007528/0.95, allocations: 3.34 MB / 0.8317 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.9514, allocations: 0.7542 MB / 0.8325 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.9517, allocations: 50.03 kB / 0.8325 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/0.9541, allocations: 299.2 kB / 0.8328 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.9544, allocations: 150.4 kB / 0.8329 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.9546, allocations: 85.72 kB / 0.833 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001948/0.9566, allocations: 1.47 MB / 0.8345 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9566, allocations: 0 / 0.8345 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002399/0.959, allocations: 0.8765 MB / 0.8353 GB, free: 207.9 MB / 0.6387 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.009565/0.9686, allocations: 4.488 MB / 0.8397 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00772/0.9763, allocations: 3.354 MB / 0.843 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.9764, allocations: 0 / 0.843 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.9798, allocations: 1.732 MB / 0.8447 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.9822, allocations: 425.8 kB / 0.8451 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04452/1.027, allocations: 27.06 MB / 0.8715 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.028, allocations: 2.221 MB / 0.8737 GB, free: 173.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003171/1.031, allocations: 0.9578 MB / 0.8746 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.033, allocations: 1.323 MB / 0.8759 GB, free: 170.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.033, allocations: 0 / 0.8759 GB, free: 170.9 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:779:13-779:124: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.2752/1.308, allocations: 55.96 MB / 0.9305 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.308, allocations: 275.3 kB / 0.9308 GB, free: 115 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/5.002, allocations: 0 / 0.9308 GB, free: 115 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)