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.0009523/0.0009523, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007621/0.007621, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8902/0.8902, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 82.3 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.006983/0.1454, allocations: 6.584 MB / 0.5945 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4046/0.55, allocations: 151.6 MB / 0.7425 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.5514, allocations: 31.84 kB / 0.7425 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.5523, allocations: 212.5 kB / 0.7427 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.5547, allocations: 0.594 MB / 0.7433 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.5574, allocations: 1.051 MB / 0.7443 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004261/0.5617, allocations: 3.912 MB / 0.7481 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.5646, allocations: 2.525 MB / 0.7506 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.5672, allocations: 1.1 MB / 0.7517 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.5687, allocations: 1.244 MB / 0.7529 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.5688, allocations: 78.28 kB / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.5704, allocations: 0.6551 MB / 0.7536 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.5708, allocations: 0.5323 MB / 0.7541 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.5721, allocations: 1.329 MB / 0.7554 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.5759, allocations: 4.196 MB / 0.7595 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5759, allocations: 0 / 0.7595 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5759, allocations: 3.938 kB / 0.7595 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.5759, allocations: 0 / 0.7595 GB, free: 12.29 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.005567/0.5815, allocations: 3.164 MB / 0.7626 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5816, allocations: 8.031 kB / 0.7626 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004877/0.5821, allocations: 436 kB / 0.763 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008842/0.5909, allocations: 1.361 MB / 0.7644 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.5936, allocations: 1.875 MB / 0.7662 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.5938, allocations: 238 kB / 0.7664 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.5943, allocations: 292 kB / 0.7667 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007686/0.602, allocations: 4.22 MB / 0.7708 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.6021, allocations: 0 / 0.7708 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.6024, allocations: 127.9 kB / 0.771 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.6025, allocations: 75.98 kB / 0.771 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009903/0.6124, allocations: 4.604 MB / 0.7755 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.6325, allocations: 12.9 MB / 0.7881 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.6429, allocations: 3.773 MB / 0.7918 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003708/0.6466, allocations: 1.573 MB / 0.7933 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.6479, allocations: 1.077 MB / 0.7944 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004375/0.6523, allocations: 1.952 MB / 0.7963 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 5.681e-06/0.6523, allocations: 0 / 0.7963 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.0133/0.6656, allocations: 4.933 MB / 0.8011 GB, free: 436 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.6658, allocations: 253.3 kB / 0.8014 GB, free: 124 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.6691, allocations: 1.913 MB / 0.8032 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.6694, allocations: 61.7 kB / 0.8033 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.6705, allocations: 1.224 MB / 0.8045 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/0.6713, allocations: 0.747 MB / 0.8052 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.6717, allocations: 178 kB / 0.8054 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.6718, allocations: 305.1 kB / 0.8057 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.6756, allocations: 1.433 MB / 0.8071 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.6798, allocations: 1.76 MB / 0.8088 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007805/0.6876, allocations: 3.179 MB / 0.8119 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6877, allocations: 0 / 0.8119 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00962/0.6973, allocations: 3.702 MB / 0.8155 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6973, allocations: 8 kB / 0.8155 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.6974, allocations: 8 kB / 0.8155 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.698, allocations: 88.88 kB / 0.8156 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/0.7016, allocations: 0.7097 MB / 0.8163 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.7038, allocations: 1.539 MB / 0.8178 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.7073, allocations: 453.1 kB / 0.8182 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.7077, allocations: 123.8 kB / 0.8184 GB, free: 14.29 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.001668/0.7093, allocations: 0.7898 MB / 0.8191 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.7099, allocations: 225.2 kB / 0.8193 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.7205, allocations: 4.043 MB / 0.8233 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.7205, allocations: 31.94 kB / 0.8233 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7206, allocations: 4 kB / 0.8233 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/0.7206, allocations: 11.95 kB / 0.8233 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.7346, allocations: 7.247 MB / 0.8304 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7347, allocations: 0 / 0.8304 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/0.7376, allocations: 0.6007 MB / 0.831 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.7382, allocations: 80.78 kB / 0.8311 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.7384, allocations: 79.94 kB / 0.8312 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.7403, allocations: 1.536 MB / 0.8327 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7403, allocations: 4 kB / 0.8327 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/0.7482, allocations: 3.334 MB / 0.8359 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.7496, allocations: 0.7585 MB / 0.8367 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.7501, allocations: 40 kB / 0.8367 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/0.7527, allocations: 303.4 kB / 0.837 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.753, allocations: 149.8 kB / 0.8371 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.7532, allocations: 87.94 kB / 0.8372 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002222/0.7554, allocations: 1.438 MB / 0.8386 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7554, allocations: 0 / 0.8386 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002476/0.7579, allocations: 0.88 MB / 0.8395 GB, free: 8.242 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.009664/0.7676, allocations: 4.476 MB / 0.8438 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007944/0.7756, allocations: 3.35 MB / 0.8471 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7756, allocations: 4.375 kB / 0.8471 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003611/0.7792, allocations: 1.727 MB / 0.8488 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7816, allocations: 431.3 kB / 0.8492 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3445/1.126, allocations: 26.8 MB / 0.8754 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.128, allocations: 2.217 MB / 0.8776 GB, free: 207.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00338/1.131, allocations: 0.9386 MB / 0.8785 GB, free: 207.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.133, allocations: 1.308 MB / 0.8798 GB, free: 206.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/1.133, allocations: 0 / 0.8798 GB, free: 206.5 MB / 0.67 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:779:13-779:124: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.5653/1.698, allocations: 55.52 MB / 0.934 GB, free: 187.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.698, allocations: 282.5 kB / 0.9342 GB, free: 187.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/5.394, allocations: 0 / 0.9342 GB, free: 187.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)