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.005925/0.005925, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.001215/0.001215, allocations: 183.3 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8981/0.8981, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4458, allocations: 80.9 MB / 0.6643 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00711/0.453, allocations: 7.13 MB / 0.6713 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.6384, allocations: 155.5 MB / 0.8232 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.6402, allocations: 31.88 kB / 0.8232 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.6415, allocations: 289.1 kB / 0.8235 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.6445, allocations: 0.7086 MB / 0.8242 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.6477, allocations: 1.213 MB / 0.8254 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.653, allocations: 4.055 MB / 0.8293 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.6569, allocations: 2.65 MB / 0.8319 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.6602, allocations: 1.665 MB / 0.8335 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.6629, allocations: 1.735 MB / 0.8352 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.664, allocations: 344 kB / 0.8356 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.6666, allocations: 0.9484 MB / 0.8365 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.668, allocations: 0.8954 MB / 0.8374 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002819/0.6708, allocations: 1.714 MB / 0.839 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.6766, allocations: 4.641 MB / 0.8436 GB, free: 9.266 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6766, allocations: 4 kB / 0.8436 GB, free: 9.262 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6766, allocations: 4 kB / 0.8436 GB, free: 9.258 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.527e-05/0.6767, allocations: 0 / 0.8436 GB, free: 9.258 MB / 0.67 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.007262/0.6839, allocations: 3.873 MB / 0.8474 GB, free: 5.316 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.684, allocations: 8.031 kB / 0.8474 GB, free: 5.309 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004722/0.6845, allocations: 429.8 kB / 0.8478 GB, free: 4.879 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008956/0.6934, allocations: 1.287 MB / 0.849 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.6969, allocations: 1.914 MB / 0.8509 GB, free: 1.617 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.697, allocations: 234 kB / 0.8511 GB, free: 1.387 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/0.6975, allocations: 292 kB / 0.8514 GB, free: 1.102 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008116/0.7056, allocations: 4.216 MB / 0.8555 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/0.7057, allocations: 0 / 0.8555 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.706, allocations: 128 kB / 0.8556 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.706, allocations: 79.98 kB / 0.8557 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009908/0.7159, allocations: 4.569 MB / 0.8602 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4683/1.184, allocations: 12.74 MB / 0.8726 GB, free: 31.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/1.195, allocations: 3.769 MB / 0.8763 GB, free: 31.71 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/1.199, allocations: 1.559 MB / 0.8778 GB, free: 31.69 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.2, allocations: 1.082 MB / 0.8789 GB, free: 30.56 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004357/1.204, allocations: 1.942 MB / 0.8808 GB, free: 30.46 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 5.631e-06/1.204, allocations: 0.9688 kB / 0.8808 GB, free: 30.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01348/1.218, allocations: 4.899 MB / 0.8856 GB, free: 30.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.218, allocations: 261 kB / 0.8858 GB, free: 29.99 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/1.222, allocations: 1.91 MB / 0.8877 GB, free: 29.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002973/1.222, allocations: 64.27 kB / 0.8877 GB, free: 29.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.223, allocations: 1.229 MB / 0.8889 GB, free: 29.25 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/1.224, allocations: 0.7456 MB / 0.8897 GB, free: 28.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008964/1.225, allocations: 0.5088 MB / 0.8902 GB, free: 28.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.225, allocations: 307 kB / 0.8905 GB, free: 28.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/1.228, allocations: 1.424 MB / 0.8918 GB, free: 28.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/1.232, allocations: 1.752 MB / 0.8936 GB, free: 28.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006988/1.239, allocations: 3.165 MB / 0.8967 GB, free: 27.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.24, allocations: 0 / 0.8967 GB, free: 27.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009136/1.249, allocations: 3.687 MB / 0.9003 GB, free: 27.73 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.249, allocations: 8.156 kB / 0.9003 GB, free: 27.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.249, allocations: 11.88 kB / 0.9003 GB, free: 27.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/1.249, allocations: 91.12 kB / 0.9004 GB, free: 27.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/1.253, allocations: 0.712 MB / 0.9011 GB, free: 27.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.255, allocations: 1.638 MB / 0.9027 GB, free: 26.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.258, allocations: 443.5 kB / 0.9031 GB, free: 26.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/1.258, allocations: 125.7 kB / 0.9032 GB, free: 26.23 MB / 0.6856 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.001669/1.26, allocations: 0.7914 MB / 0.904 GB, free: 26.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/1.261, allocations: 226.4 kB / 0.9042 GB, free: 26 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009337/1.27, allocations: 4.016 MB / 0.9081 GB, free: 25.78 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/1.27, allocations: 30.66 kB / 0.9081 GB, free: 25.77 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.27, allocations: 0 / 0.9081 GB, free: 25.77 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/1.27, allocations: 13.72 kB / 0.9081 GB, free: 25.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/1.285, allocations: 7.176 MB / 0.9152 GB, free: 24.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.285, allocations: 0 / 0.9152 GB, free: 24.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/1.288, allocations: 0.5906 MB / 0.9157 GB, free: 24.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/1.288, allocations: 85.44 kB / 0.9158 GB, free: 24.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/1.289, allocations: 65.48 kB / 0.9159 GB, free: 24.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.29, allocations: 1.667 MB / 0.9175 GB, free: 23.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.29, allocations: 6.688 kB / 0.9175 GB, free: 23.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008045/1.298, allocations: 3.324 MB / 0.9208 GB, free: 22.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.3, allocations: 0.6767 MB / 0.9214 GB, free: 22.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/1.3, allocations: 61.62 kB / 0.9215 GB, free: 22.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.303, allocations: 280 kB / 0.9217 GB, free: 22.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.303, allocations: 157 kB / 0.9219 GB, free: 22.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.303, allocations: 86.48 kB / 0.922 GB, free: 22.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001953/1.305, allocations: 1.437 MB / 0.9234 GB, free: 22.55 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.31e-07/1.305, allocations: 0 / 0.9234 GB, free: 22.55 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002613/1.308, allocations: 0.8803 MB / 0.9242 GB, free: 22.41 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.009234/1.317, allocations: 4.457 MB / 0.9286 GB, free: 21.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008137/1.325, allocations: 3.356 MB / 0.9319 GB, free: 20.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.325, allocations: 0 / 0.9319 GB, free: 20.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003962/1.329, allocations: 1.717 MB / 0.9335 GB, free: 19.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.333, allocations: 466.3 kB / 0.934 GB, free: 19.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05017/1.383, allocations: 23.13 MB / 0.9566 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.386, allocations: 2.21 MB / 0.9587 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004106/1.39, allocations: 0.9384 MB / 0.9597 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/1.393, allocations: 1.311 MB / 0.9609 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/1.393, allocations: 0 / 0.9609 GB, free: 7.18 MB / 0.7012 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 0.1138/1.507, allocations: 59.77 MB / 1.019 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/17.48, allocations: 15.23 kB / 1.019 GB, free: 11.91 MB / 0.7637 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)