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.001404/0.001404, allocations: 108 kB / 15.6 MB, free: 132 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.00136/0.00136, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.84 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3784, allocations: 80.21 MB / 0.5802 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007952/0.3864, allocations: 7.115 MB / 0.5871 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5527, allocations: 155.5 MB / 0.739 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.5543, allocations: 31.88 kB / 0.739 GB, free: 14.28 MB / 0.5762 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.001113/0.5555, allocations: 285.1 kB / 0.7393 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.5582, allocations: 0.7121 MB / 0.74 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.5613, allocations: 1.203 MB / 0.7412 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004362/0.5657, allocations: 4.032 MB / 0.7451 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.5688, allocations: 2.467 MB / 0.7475 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5713, allocations: 1.647 MB / 0.7491 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.5734, allocations: 1.735 MB / 0.7508 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007826/0.5742, allocations: 344 kB / 0.7512 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.5762, allocations: 0.925 MB / 0.7521 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009633/0.5772, allocations: 0.8876 MB / 0.7529 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.5793, allocations: 1.729 MB / 0.7546 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.5841, allocations: 4.533 MB / 0.759 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5841, allocations: 0 / 0.759 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5841, allocations: 0 / 0.759 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.377e-05/0.5841, allocations: 0 / 0.759 GB, free: 9.684 MB / 0.5919 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.00686/0.591, allocations: 3.9 MB / 0.7629 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5911, allocations: 8.031 kB / 0.7629 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004846/0.5915, allocations: 429.8 kB / 0.7633 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00962/0.6012, allocations: 1.295 MB / 0.7645 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.6049, allocations: 1.919 MB / 0.7664 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.6051, allocations: 226.1 kB / 0.7666 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.6056, allocations: 292 kB / 0.7669 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00932/0.6149, allocations: 4.223 MB / 0.771 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/0.615, allocations: 3.938 kB / 0.771 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.6154, allocations: 124 kB / 0.7711 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.6154, allocations: 76 kB / 0.7712 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.6265, allocations: 4.588 MB / 0.7757 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.6492, allocations: 12.88 MB / 0.7883 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.66, allocations: 3.772 MB / 0.792 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/0.664, allocations: 1.557 MB / 0.7935 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.6654, allocations: 1.081 MB / 0.7945 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004692/0.6701, allocations: 1.932 MB / 0.7964 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 5.25e-06/0.6701, allocations: 0 / 0.7964 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01387/0.684, allocations: 4.917 MB / 0.8012 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.6841, allocations: 265.2 kB / 0.8015 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.6873, allocations: 1.943 MB / 0.8034 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.6877, allocations: 73.7 kB / 0.8035 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.6888, allocations: 1.24 MB / 0.8047 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/0.6897, allocations: 0.7431 MB / 0.8054 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.6909, allocations: 0.5149 MB / 0.8059 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.691, allocations: 301.1 kB / 0.8062 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.6947, allocations: 1.425 MB / 0.8076 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004055/0.6987, allocations: 1.755 MB / 0.8093 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/0.7065, allocations: 3.158 MB / 0.8124 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.7065, allocations: 0 / 0.8124 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.2662/0.9727, allocations: 3.686 MB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.9728, allocations: 7.188 kB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.9728, allocations: 7.969 kB / 0.816 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.9736, allocations: 91.02 kB / 0.8161 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.9772, allocations: 0.7112 MB / 0.8168 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.9791, allocations: 1.641 MB / 0.8184 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.9825, allocations: 434 kB / 0.8188 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/0.9829, allocations: 128.9 kB / 0.8189 GB, free: 213.7 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.001845/0.9847, allocations: 0.8004 MB / 0.8197 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.9854, allocations: 230 kB / 0.8199 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.9964, allocations: 4.032 MB / 0.8238 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.9964, allocations: 25.75 kB / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9964, allocations: 1.156 kB / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/0.9965, allocations: 18.66 kB / 0.8239 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.01, allocations: 7.224 MB / 0.8309 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.01, allocations: 3.797 kB / 0.8309 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.013, allocations: 0.5983 MB / 0.8315 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/1.013, allocations: 73.14 kB / 0.8316 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/1.013, allocations: 65.45 kB / 0.8317 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/1.015, allocations: 1.671 MB / 0.8333 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.015, allocations: 5.25 kB / 0.8333 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/1.023, allocations: 3.322 MB / 0.8365 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.024, allocations: 0.6828 MB / 0.8372 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/1.025, allocations: 66.11 kB / 0.8373 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.027, allocations: 280.4 kB / 0.8375 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/1.027, allocations: 149.8 kB / 0.8377 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.028, allocations: 87.84 kB / 0.8378 GB, free: 205 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001903/1.029, allocations: 1.467 MB / 0.8392 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/1.029, allocations: 0 / 0.8392 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002289/1.032, allocations: 0.8772 MB / 0.8401 GB, free: 204 MB / 0.6387 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.008306/1.04, allocations: 4.468 MB / 0.8444 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.052, allocations: 5.732 MB / 0.85 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.052, allocations: 3.938 kB / 0.85 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003433/1.056, allocations: 1.716 MB / 0.8517 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.059, allocations: 454.6 kB / 0.8521 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04474/1.103, allocations: 25.61 MB / 0.8771 GB, free: 168.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.105, allocations: 2.226 MB / 0.8793 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003614/1.109, allocations: 0.962 MB / 0.8803 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/1.111, allocations: 1.327 MB / 0.8816 GB, free: 163.8 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/1.111, allocations: 0 / 0.8816 GB, free: 163.8 MB / 0.6387 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.08505/1.196, allocations: 58.36 MB / 0.9385 GB, free: 105.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.7, allocations: 15.64 kB / 0.9386 GB, free: 105.9 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)