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.005317/0.005317, 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.001383/0.001383, allocations: 195.3 kB / 16.67 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8083/0.8083, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 60.28 kB / 0.5811 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 80.21 MB / 0.6594 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009366/0.1393, allocations: 7.113 MB / 0.6663 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4398/0.5791, allocations: 155.5 MB / 0.8182 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006369/0.5798, allocations: 30.22 kB / 0.8182 GB, free: 9.082 MB / 0.5919 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.0006554/0.5805, allocations: 285.8 kB / 0.8185 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.582, allocations: 0.7065 MB / 0.8192 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.5841, allocations: 1.217 MB / 0.8204 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.5874, allocations: 4.06 MB / 0.8244 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.5898, allocations: 2.476 MB / 0.8268 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.5921, allocations: 1.648 MB / 0.8284 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.5938, allocations: 1.736 MB / 0.8301 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.5942, allocations: 345.5 kB / 0.8304 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.5956, allocations: 0.9436 MB / 0.8313 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.5964, allocations: 0.8932 MB / 0.8322 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.5979, allocations: 1.73 MB / 0.8339 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.6023, allocations: 4.694 MB / 0.8385 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6024, allocations: 0 / 0.8385 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6024, allocations: 3.938 kB / 0.8385 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.63e-05/0.6024, allocations: 0 / 0.8385 GB, free: 12.41 MB / 0.6075 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.0065/0.6089, allocations: 4.014 MB / 0.8424 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.609, allocations: 10.22 kB / 0.8424 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004602/0.6094, allocations: 426 kB / 0.8428 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008983/0.6184, allocations: 1.313 MB / 0.8441 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.6215, allocations: 1.964 MB / 0.846 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.6217, allocations: 238 kB / 0.8462 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.6221, allocations: 292 kB / 0.8465 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008037/0.6301, allocations: 4.208 MB / 0.8506 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.6302, allocations: 0 / 0.8506 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.6305, allocations: 131.9 kB / 0.8508 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/0.6306, allocations: 80 kB / 0.8508 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.6409, allocations: 4.584 MB / 0.8553 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.6598, allocations: 12.8 MB / 0.8678 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.6699, allocations: 3.781 MB / 0.8715 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.6738, allocations: 1.561 MB / 0.873 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.675, allocations: 1.073 MB / 0.8741 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0042/0.6792, allocations: 1.94 MB / 0.876 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=223): time 3.867e-06/0.6792, allocations: 3.938 kB / 0.876 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223): time 0.01335/0.6926, allocations: 4.922 MB / 0.8808 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.6927, allocations: 257.3 kB / 0.881 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.6954, allocations: 1.944 MB / 0.8829 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.6956, allocations: 61.7 kB / 0.883 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.6967, allocations: 1.278 MB / 0.8842 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007256/0.6974, allocations: 0.7901 MB / 0.885 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008745/0.6983, allocations: 0.5113 MB / 0.8855 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6984, allocations: 301.1 kB / 0.8858 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003643/0.7021, allocations: 1.425 MB / 0.8872 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.706, allocations: 1.759 MB / 0.8889 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/0.7136, allocations: 3.166 MB / 0.892 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.7136, allocations: 0 / 0.892 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009344/0.7229, allocations: 3.701 MB / 0.8956 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.723, allocations: 9.719 kB / 0.8956 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.723, allocations: 4 kB / 0.8956 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.7236, allocations: 93.25 kB / 0.8957 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.727, allocations: 0.7058 MB / 0.8964 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.7292, allocations: 1.647 MB / 0.898 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.7324, allocations: 446 kB / 0.8984 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.7327, allocations: 135.8 kB / 0.8986 GB, free: 15.43 MB / 0.67 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.001561/0.7343, allocations: 0.7937 MB / 0.8993 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006295/0.7349, allocations: 242.5 kB / 0.8996 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.7456, allocations: 4.036 MB / 0.9035 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.7456, allocations: 28 kB / 0.9035 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7456, allocations: 0 / 0.9035 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.7457, allocations: 11.95 kB / 0.9035 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.7598, allocations: 7.178 MB / 0.9106 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7599, allocations: 0 / 0.9106 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/0.7631, allocations: 0.5968 MB / 0.9111 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.7636, allocations: 80.72 kB / 0.9112 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.7638, allocations: 71.94 kB / 0.9113 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.7657, allocations: 1.666 MB / 0.9129 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7657, allocations: 0 / 0.9129 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/0.7736, allocations: 3.342 MB / 0.9162 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.775, allocations: 0.6939 MB / 0.9168 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005484/0.7755, allocations: 63.73 kB / 0.9169 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/0.778, allocations: 275.6 kB / 0.9172 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.7783, allocations: 149.8 kB / 0.9173 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/0.7785, allocations: 95.88 kB / 0.9174 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002469/0.781, allocations: 1.474 MB / 0.9188 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.781, allocations: 4 kB / 0.9189 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002299/0.7833, allocations: 0.8843 MB / 0.9197 GB, free: 9.348 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.0105/0.7938, allocations: 4.483 MB / 0.9241 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00853/0.8024, allocations: 3.354 MB / 0.9274 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8024, allocations: 0 / 0.9274 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003925/0.8063, allocations: 1.716 MB / 0.929 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.8088, allocations: 464.1 kB / 0.9295 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04868/0.8575, allocations: 23.43 MB / 0.9524 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.8598, allocations: 2.221 MB / 0.9545 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003275/0.8631, allocations: 0.9581 MB / 0.9555 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00254/0.8656, allocations: 1.327 MB / 0.9568 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of SimCode: time 7.02e-07/0.8656, allocations: 0 / 0.9568 GB, free: 3.148 MB / 0.7169 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.7944/1.66, allocations: 59.14 MB / 1.015 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/18.68, allocations: 4 kB / 1.015 GB, free: 8.27 MB / 0.7794 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)