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.001022/0.001022, 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.001428/0.001428, allocations: 194.3 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.183/1.183, 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-master/package.mo): time 0.7843/0.7843, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 62.86 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 80.91 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007771/0.1264, allocations: 7.121 MB / 0.5914 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3313/0.4578, allocations: 155.5 MB / 0.7433 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.4587, allocations: 34.56 kB / 0.7433 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.4595, allocations: 283.9 kB / 0.7436 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.4613, allocations: 0.708 MB / 0.7443 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.4637, allocations: 1.198 MB / 0.7454 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.4669, allocations: 4.029 MB / 0.7494 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.4695, allocations: 2.66 MB / 0.752 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.4717, allocations: 1.632 MB / 0.7536 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.4735, allocations: 1.727 MB / 0.7553 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006216/0.4741, allocations: 348 kB / 0.7556 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4757, allocations: 0.9094 MB / 0.7565 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.4765, allocations: 0.8954 MB / 0.7573 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.4782, allocations: 1.706 MB / 0.759 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.482, allocations: 4.506 MB / 0.7634 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.482, allocations: 0 / 0.7634 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.482, allocations: 0 / 0.7634 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.307e-05/0.4821, allocations: 0 / 0.7634 GB, free: 5.547 MB / 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.006128/0.4883, allocations: 3.876 MB / 0.7672 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.4883, allocations: 8.031 kB / 0.7672 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000403/0.4887, allocations: 439.8 kB / 0.7676 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/0.497, allocations: 1.291 MB / 0.7689 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.4994, allocations: 1.875 MB / 0.7707 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.4995, allocations: 234 kB / 0.7709 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.4999, allocations: 292 kB / 0.7712 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/0.5066, allocations: 4.213 MB / 0.7753 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.5067, allocations: 3.938 kB / 0.7753 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.507, allocations: 131.9 kB / 0.7755 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.507, allocations: 72 kB / 0.7755 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008888/0.5159, allocations: 4.561 MB / 0.78 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.5323, allocations: 12.87 MB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00902/0.5413, allocations: 3.765 MB / 0.7962 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.5445, allocations: 1.557 MB / 0.7977 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.5456, allocations: 1.081 MB / 0.7988 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003686/0.5493, allocations: 1.928 MB / 0.8007 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 3.417e-06/0.5493, allocations: 4 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01147/0.5608, allocations: 4.911 MB / 0.8055 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5609, allocations: 261.3 kB / 0.8057 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.5632, allocations: 1.906 MB / 0.8076 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.5633, allocations: 65.7 kB / 0.8077 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008563/0.5642, allocations: 1.228 MB / 0.8089 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005557/0.5648, allocations: 0.7508 MB / 0.8096 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007412/0.5655, allocations: 0.5072 MB / 0.8101 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.5656, allocations: 301.1 kB / 0.8104 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/0.5688, allocations: 1.425 MB / 0.8118 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/0.5723, allocations: 1.759 MB / 0.8135 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/0.5789, allocations: 3.158 MB / 0.8166 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5789, allocations: 0 / 0.8166 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008195/0.5871, allocations: 3.69 MB / 0.8202 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5871, allocations: 9.875 kB / 0.8202 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.5872, allocations: 8 kB / 0.8202 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.5877, allocations: 97.05 kB / 0.8203 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.5909, allocations: 0.702 MB / 0.821 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.5927, allocations: 1.639 MB / 0.8226 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5954, allocations: 442.2 kB / 0.823 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.5957, allocations: 127.8 kB / 0.8231 GB, free: 6.629 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.001186/0.5969, allocations: 0.7861 MB / 0.8239 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/0.5974, allocations: 233.1 kB / 0.8241 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009021/0.6064, allocations: 4.023 MB / 0.828 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.6064, allocations: 27.98 kB / 0.8281 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6064, allocations: 0 / 0.8281 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.6064, allocations: 15.95 kB / 0.8281 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6181, allocations: 7.224 MB / 0.8351 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6181, allocations: 0 / 0.8351 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.6208, allocations: 0.6007 MB / 0.8357 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.6213, allocations: 80.78 kB / 0.8358 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.6214, allocations: 71.88 kB / 0.8359 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6231, allocations: 1.658 MB / 0.8375 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6231, allocations: 0 / 0.8375 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.6299, allocations: 3.327 MB / 0.8407 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/0.6309, allocations: 0.6732 MB / 0.8414 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/0.6312, allocations: 67.69 kB / 0.8414 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.6334, allocations: 271.6 kB / 0.8417 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.6337, allocations: 157.7 kB / 0.8419 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.6339, allocations: 83.94 kB / 0.8419 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001699/0.6356, allocations: 1.442 MB / 0.8433 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6356, allocations: 0 / 0.8433 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00185/0.6375, allocations: 0.8761 MB / 0.8442 GB, free: 0.6055 MB / 0.6544 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.0085/0.646, allocations: 4.477 MB / 0.8486 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01256/0.6585, allocations: 5.725 MB / 0.8542 GB, free: 6.566 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6585, allocations: 0 / 0.8542 GB, free: 6.566 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/0.662, allocations: 1.72 MB / 0.8558 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6637, allocations: 464 kB / 0.8563 GB, free: 4.406 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.218/0.8817, allocations: 25.35 MB / 0.881 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8828, allocations: 2.206 MB / 0.8832 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002601/0.8854, allocations: 0.9368 MB / 0.8841 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/0.8869, allocations: 1.309 MB / 0.8854 GB, free: 204.8 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.8869, allocations: 0 / 0.8854 GB, free: 204.8 MB / 0.67 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 1.062/1.949, allocations: 57.92 MB / 0.942 GB, free: 179.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/15.4, allocations: 15.19 kB / 0.942 GB, free: 179.4 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)