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.001715/0.001715, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001996/0.001996, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.238/2.238, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.338/1.338, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 55.69 kB / 0.5049 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2484, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01589/0.2643, allocations: 7.07 MB / 0.5909 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6761/0.9404, allocations: 153.3 MB / 0.7405 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.9431, allocations: 35.03 kB / 0.7406 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.9449, allocations: 211.6 kB / 0.7408 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.9504, allocations: 0.6157 MB / 0.7414 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.9566, allocations: 1.077 MB / 0.7424 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008621/0.9652, allocations: 4.078 MB / 0.7464 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006755/0.972, allocations: 2.646 MB / 0.749 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006458/0.9785, allocations: 1.649 MB / 0.7506 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/0.983, allocations: 1.75 MB / 0.7523 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.9847, allocations: 340 kB / 0.7526 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.9887, allocations: 0.925 MB / 0.7535 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.9908, allocations: 0.8837 MB / 0.7544 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00512/0.996, allocations: 1.721 MB / 0.7561 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/1.007, allocations: 4.51 MB / 0.7605 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/1.007, allocations: 0 / 0.7605 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.036e-06/1.007, allocations: 0 / 0.7605 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002509/1.007, allocations: 0 / 0.7605 GB, free: 8.492 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.01707/1.025, allocations: 3.869 MB / 0.7643 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/1.025, allocations: 8.031 kB / 0.7643 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001663/1.026, allocations: 429.7 kB / 0.7647 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/1.044, allocations: 1.295 MB / 0.766 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007421/1.051, allocations: 1.872 MB / 0.7678 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/1.052, allocations: 230 kB / 0.768 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.053, allocations: 303.9 kB / 0.7683 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/1.073, allocations: 4.206 MB / 0.7724 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/1.073, allocations: 4 kB / 0.7724 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/1.074, allocations: 123.9 kB / 0.7725 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/1.075, allocations: 76 kB / 0.7726 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/1.096, allocations: 4.565 MB / 0.7771 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/1.141, allocations: 12.87 MB / 0.7896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.161, allocations: 3.776 MB / 0.7933 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007155/1.168, allocations: 1.553 MB / 0.7948 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/1.171, allocations: 1.081 MB / 0.7959 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008916/1.18, allocations: 1.932 MB / 0.7978 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 1.06e-05/1.18, allocations: 0 / 0.7978 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.02752/1.207, allocations: 4.909 MB / 0.8026 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/1.208, allocations: 261.3 kB / 0.8028 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00607/1.214, allocations: 1.909 MB / 0.8047 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0008844/1.215, allocations: 61.7 kB / 0.8047 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.217, allocations: 1.228 MB / 0.8059 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/1.218, allocations: 0.7508 MB / 0.8067 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/1.221, allocations: 0.5072 MB / 0.8072 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.221, allocations: 301.1 kB / 0.8074 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006803/1.228, allocations: 1.425 MB / 0.8088 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007617/1.236, allocations: 1.763 MB / 0.8106 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/1.251, allocations: 3.16 MB / 0.8136 GB, free: 448 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/1.251, allocations: 7.938 kB / 0.8137 GB, free: 440 kB / 0.6231 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01966/1.27, allocations: 3.681 MB / 0.8172 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.27, allocations: 8 kB / 0.8173 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.27, allocations: 4 kB / 0.8173 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/1.271, allocations: 97.23 kB / 0.8174 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/1.278, allocations: 0.702 MB / 0.818 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/1.282, allocations: 1.652 MB / 0.8197 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006363/1.289, allocations: 436 kB / 0.8201 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009869/1.29, allocations: 123.9 kB / 0.8202 GB, free: 9.582 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.003734/1.293, allocations: 0.786 MB / 0.821 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/1.295, allocations: 237.1 kB / 0.8212 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/1.316, allocations: 4.025 MB / 0.8251 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-05/1.316, allocations: 28 kB / 0.8251 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.316, allocations: 3.984 kB / 0.8251 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/1.316, allocations: 15.89 kB / 0.8252 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/1.345, allocations: 7.216 MB / 0.8322 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.345, allocations: 7.922 kB / 0.8322 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005835/1.351, allocations: 0.5929 MB / 0.8328 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008827/1.352, allocations: 84.72 kB / 0.8329 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007553/1.353, allocations: 67.94 kB / 0.8329 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/1.356, allocations: 1.658 MB / 0.8346 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.356, allocations: 0 / 0.8346 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.373, allocations: 3.326 MB / 0.8378 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003207/1.376, allocations: 0.6732 MB / 0.8385 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/1.378, allocations: 63.69 kB / 0.8385 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005457/1.383, allocations: 279.5 kB / 0.8388 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008064/1.384, allocations: 157.8 kB / 0.8389 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005928/1.385, allocations: 83.94 kB / 0.839 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005121/1.39, allocations: 1.442 MB / 0.8404 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/1.39, allocations: 4 kB / 0.8404 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006046/1.396, allocations: 0.8761 MB / 0.8413 GB, free: 3.551 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.01932/1.416, allocations: 4.474 MB / 0.8457 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02841/1.444, allocations: 5.729 MB / 0.8512 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.444, allocations: 0 / 0.8512 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007805/1.452, allocations: 1.716 MB / 0.8529 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/1.457, allocations: 454 kB / 0.8534 GB, free: 7.363 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5791/2.037, allocations: 26.67 MB / 0.8794 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/2.04, allocations: 2.209 MB / 0.8816 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007864/2.048, allocations: 0.9504 MB / 0.8825 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004583/2.053, allocations: 1.309 MB / 0.8838 GB, free: 205.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/2.053, allocations: 0 / 0.8838 GB, free: 205.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 0.1838/2.237, allocations: 57.71 MB / 0.9401 GB, free: 181.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/2.237, allocations: 283.2 kB / 0.9404 GB, free: 180.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.26/8.497, allocations: 3.938 kB / 0.9404 GB, free: 180.8 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)