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.001537/0.001537, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.16 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00796/0.358, allocations: 7.124 MB / 0.5871 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1577/0.5157, allocations: 155.5 MB / 0.739 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.5173, allocations: 31.88 kB / 0.739 GB, free: 14.31 MB / 0.5762 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.001168/0.5185, allocations: 281.1 kB / 0.7393 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.5209, allocations: 0.7054 MB / 0.74 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5235, allocations: 1.213 MB / 0.7412 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00373/0.5272, allocations: 4.032 MB / 0.7451 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.5298, allocations: 2.467 MB / 0.7475 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.5321, allocations: 1.637 MB / 0.7491 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.5337, allocations: 1.74 MB / 0.7508 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004729/0.5342, allocations: 344 kB / 0.7512 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5359, allocations: 0.9095 MB / 0.752 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.5367, allocations: 0.8954 MB / 0.7529 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.5386, allocations: 1.725 MB / 0.7546 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.5432, allocations: 4.533 MB / 0.759 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5432, allocations: 4 kB / 0.759 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5432, allocations: 0 / 0.759 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.917e-05/0.5433, allocations: 0 / 0.759 GB, free: 9.723 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.006489/0.5498, allocations: 3.904 MB / 0.7628 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5498, allocations: 12.03 kB / 0.7629 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004353/0.5503, allocations: 421.8 kB / 0.7633 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009027/0.5593, allocations: 1.295 MB / 0.7645 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.5625, allocations: 1.919 MB / 0.7664 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.5626, allocations: 226.1 kB / 0.7666 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.563, allocations: 296 kB / 0.7669 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/0.5705, allocations: 4.219 MB / 0.771 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.5706, allocations: 3.984 kB / 0.771 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.5709, allocations: 128 kB / 0.7711 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.5709, allocations: 72 kB / 0.7712 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/0.5806, allocations: 4.596 MB / 0.7757 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.5988, allocations: 12.88 MB / 0.7883 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.61, allocations: 3.78 MB / 0.792 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003872/0.6139, allocations: 1.553 MB / 0.7935 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.6152, allocations: 1.081 MB / 0.7945 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004507/0.6198, allocations: 1.936 MB / 0.7964 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 5.43e-06/0.6198, allocations: 0 / 0.7964 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.0135/0.6333, allocations: 4.913 MB / 0.8012 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.6334, allocations: 257.3 kB / 0.8015 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.6364, allocations: 1.951 MB / 0.8034 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.6367, allocations: 69.64 kB / 0.8034 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.6377, allocations: 1.236 MB / 0.8047 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007233/0.6385, allocations: 0.7509 MB / 0.8054 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000938/0.6394, allocations: 0.5033 MB / 0.8059 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.6395, allocations: 313.1 kB / 0.8062 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.6432, allocations: 1.425 MB / 0.8076 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.6471, allocations: 1.747 MB / 0.8093 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/0.6544, allocations: 3.169 MB / 0.8124 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.6544, allocations: 0 / 0.8124 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.2471/0.9015, allocations: 3.681 MB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.9016, allocations: 7.125 kB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9016, allocations: 8.688 kB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.9022, allocations: 92.97 kB / 0.8161 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/0.906, allocations: 0.7076 MB / 0.8168 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.908, allocations: 1.639 MB / 0.8184 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/0.9115, allocations: 440 kB / 0.8188 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.9119, allocations: 128 kB / 0.8189 GB, free: 213.6 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.001587/0.9135, allocations: 0.7998 MB / 0.8197 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/0.9141, allocations: 231.5 kB / 0.8199 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.9245, allocations: 4.034 MB / 0.8238 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.9246, allocations: 25.69 kB / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.9246, allocations: 0 / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-05/0.9247, allocations: 17.27 kB / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9374, allocations: 7.225 MB / 0.8309 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.9374, allocations: 8.969 kB / 0.8309 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.9402, allocations: 0.5979 MB / 0.8315 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.9407, allocations: 75.27 kB / 0.8316 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.9409, allocations: 70.34 kB / 0.8317 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.9424, allocations: 1.656 MB / 0.8333 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9424, allocations: 3.938 kB / 0.8333 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007365/0.9498, allocations: 3.326 MB / 0.8365 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.951, allocations: 0.6851 MB / 0.8372 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.9513, allocations: 62.75 kB / 0.8373 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/0.9536, allocations: 275.5 kB / 0.8375 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.9539, allocations: 154.2 kB / 0.8377 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.9541, allocations: 90.38 kB / 0.8378 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001833/0.9559, allocations: 1.468 MB / 0.8392 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.956, allocations: 1.156 kB / 0.8392 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002191/0.9581, allocations: 0.8809 MB / 0.8401 GB, free: 204.1 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.008421/0.9666, allocations: 4.462 MB / 0.8444 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.9786, allocations: 5.735 MB / 0.85 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.9786, allocations: 0 / 0.85 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.982, allocations: 1.72 MB / 0.8517 GB, free: 196 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.9845, allocations: 459.3 kB / 0.8521 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/1.025, allocations: 25.62 MB / 0.8772 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.026, allocations: 2.222 MB / 0.8793 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00344/1.03, allocations: 0.962 MB / 0.8803 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/1.032, allocations: 1.323 MB / 0.8816 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/1.032, allocations: 0 / 0.8816 GB, free: 163.9 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 0.7137/1.745, allocations: 58.35 MB / 0.9385 GB, free: 106 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/15.04, allocations: 15.88 kB / 0.9386 GB, free: 106 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)