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.001134/0.001134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6952/0.6952, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 60.41 kB / 0.5013 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 80.2 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.008036/0.3647, allocations: 7.086 MB / 0.5866 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1576/0.5224, allocations: 153.3 MB / 0.7363 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.5241, allocations: 27.88 kB / 0.7363 GB, free: 0.7266 MB / 0.5606 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.001098/0.5252, allocations: 218.2 kB / 0.7365 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.5277, allocations: 0.6092 MB / 0.7371 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.5302, allocations: 1.089 MB / 0.7382 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.534, allocations: 4.075 MB / 0.7421 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.5366, allocations: 2.467 MB / 0.7445 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.5393, allocations: 1.658 MB / 0.7462 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.5411, allocations: 1.754 MB / 0.7479 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004244/0.5415, allocations: 344 kB / 0.7482 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.543, allocations: 0.9133 MB / 0.7491 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.5436, allocations: 0.8954 MB / 0.75 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.5451, allocations: 1.737 MB / 0.7517 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.5492, allocations: 4.525 MB / 0.7561 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5493, allocations: 0 / 0.7561 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5493, allocations: 0 / 0.7561 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.4e-05/0.5493, allocations: 0 / 0.7561 GB, free: 12.34 MB / 0.5919 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.006874/0.5562, allocations: 3.906 MB / 0.7599 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5563, allocations: 8.031 kB / 0.7599 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004495/0.5567, allocations: 429.7 kB / 0.7603 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00938/0.5661, allocations: 1.299 MB / 0.7616 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.5708, allocations: 1.911 MB / 0.7634 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.571, allocations: 230 kB / 0.7637 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000614/0.5716, allocations: 303.9 kB / 0.764 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008087/0.5797, allocations: 4.216 MB / 0.7681 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/0.5798, allocations: 3.938 kB / 0.7681 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.5801, allocations: 124 kB / 0.7682 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.5801, allocations: 76 kB / 0.7683 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009886/0.59, allocations: 4.592 MB / 0.7728 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.6101, allocations: 12.88 MB / 0.7853 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009414/0.6196, allocations: 3.768 MB / 0.789 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/0.6228, allocations: 1.549 MB / 0.7905 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.6239, allocations: 1.089 MB / 0.7916 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003931/0.6279, allocations: 1.932 MB / 0.7935 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 6.091e-06/0.6279, allocations: 4 kB / 0.7935 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01177/0.6397, allocations: 4.913 MB / 0.7983 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.6398, allocations: 257.3 kB / 0.7985 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.6421, allocations: 1.951 MB / 0.8004 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.6423, allocations: 65.64 kB / 0.8005 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000874/0.6432, allocations: 1.244 MB / 0.8017 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/0.6438, allocations: 0.747 MB / 0.8024 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/0.6446, allocations: 0.5111 MB / 0.8029 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.6447, allocations: 301.1 kB / 0.8032 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/0.648, allocations: 1.425 MB / 0.8046 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.6515, allocations: 1.751 MB / 0.8063 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006875/0.6583, allocations: 3.166 MB / 0.8094 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.6584, allocations: 4 kB / 0.8094 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008632/0.667, allocations: 3.684 MB / 0.813 GB, free: 392 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.667, allocations: 12.45 kB / 0.813 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6671, allocations: 15.94 kB / 0.813 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.6677, allocations: 92.72 kB / 0.8131 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2425/0.9102, allocations: 0.6984 MB / 0.8138 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.9121, allocations: 1.632 MB / 0.8154 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/0.9156, allocations: 441.7 kB / 0.8158 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/0.9161, allocations: 126.8 kB / 0.8159 GB, free: 213.9 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.001649/0.9177, allocations: 0.7992 MB / 0.8167 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/0.9184, allocations: 229.2 kB / 0.8169 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009878/0.9283, allocations: 4.039 MB / 0.8209 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.9283, allocations: 24.69 kB / 0.8209 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9283, allocations: 0.7188 kB / 0.8209 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/0.9284, allocations: 13.22 kB / 0.8209 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.9414, allocations: 7.231 MB / 0.828 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9414, allocations: 0 / 0.828 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/0.9442, allocations: 0.5965 MB / 0.8286 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.9447, allocations: 78.47 kB / 0.8286 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.9449, allocations: 67.52 kB / 0.8287 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.9464, allocations: 1.663 MB / 0.8303 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9464, allocations: 3.891 kB / 0.8303 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/0.9536, allocations: 3.326 MB / 0.8336 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.955, allocations: 0.6835 MB / 0.8343 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/0.9554, allocations: 62.84 kB / 0.8343 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/0.9577, allocations: 282 kB / 0.8346 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.958, allocations: 149.6 kB / 0.8347 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.9582, allocations: 86.22 kB / 0.8348 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002049/0.9603, allocations: 1.469 MB / 0.8362 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9603, allocations: 4 kB / 0.8362 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002406/0.9627, allocations: 0.8803 MB / 0.8371 GB, free: 205.5 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.008281/0.971, allocations: 4.46 MB / 0.8415 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01214/0.9831, allocations: 5.733 MB / 0.8471 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.9832, allocations: 0 / 0.8471 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003109/0.9863, allocations: 1.716 MB / 0.8487 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.9884, allocations: 456.9 kB / 0.8492 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04675/1.035, allocations: 26.94 MB / 0.8755 GB, free: 169.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/1.037, allocations: 2.226 MB / 0.8777 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003784/1.041, allocations: 0.9651 MB / 0.8786 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.043, allocations: 1.323 MB / 0.8799 GB, free: 165.3 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/1.043, allocations: 4 kB / 0.8799 GB, free: 165.3 MB / 0.6387 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 1.235/2.278, allocations: 58.17 MB / 0.9367 GB, free: 107.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/2.278, allocations: 278.3 kB / 0.937 GB, free: 107.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/5.919, allocations: 3.938 kB / 0.937 GB, free: 107.2 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)