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.00105/0.00105, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001129/0.001129, allocations: 192 kB / 16.14 MB, free: 6.598 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.28 kB / 0.5012 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3211, allocations: 80.2 MB / 0.5795 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00724/0.3284, allocations: 7.087 MB / 0.5864 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1485/0.4769, allocations: 153.2 MB / 0.736 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.4784, allocations: 31.88 kB / 0.7361 GB, free: 0.8555 MB / 0.5606 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.001057/0.4795, allocations: 210.2 kB / 0.7363 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.4817, allocations: 0.5931 MB / 0.7369 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.4842, allocations: 1.062 MB / 0.7379 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003667/0.4879, allocations: 3.903 MB / 0.7417 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.4908, allocations: 2.387 MB / 0.744 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.4933, allocations: 1.409 MB / 0.7454 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.4951, allocations: 1.598 MB / 0.747 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.4955, allocations: 196 kB / 0.7472 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.4969, allocations: 0.7727 MB / 0.7479 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.4975, allocations: 0.7235 MB / 0.7486 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.4988, allocations: 1.565 MB / 0.7501 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.502, allocations: 4.385 MB / 0.7544 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.502, allocations: 3.938 kB / 0.7544 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.502, allocations: 0 / 0.7544 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.197e-05/0.5021, allocations: 0 / 0.7544 GB, free: 13.95 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.006333/0.5084, allocations: 3.9 MB / 0.7582 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5084, allocations: 8.031 kB / 0.7583 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004618/0.5089, allocations: 425.8 kB / 0.7587 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/0.518, allocations: 1.299 MB / 0.7599 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.5208, allocations: 1.911 MB / 0.7618 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.521, allocations: 234 kB / 0.762 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/0.5214, allocations: 299.9 kB / 0.7623 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007654/0.529, allocations: 4.223 MB / 0.7664 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.5291, allocations: 0 / 0.7664 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.5294, allocations: 124 kB / 0.7665 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.5294, allocations: 79.98 kB / 0.7666 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009474/0.5389, allocations: 4.588 MB / 0.7711 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.5604, allocations: 12.88 MB / 0.7837 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009739/0.5701, allocations: 3.776 MB / 0.7874 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.5735, allocations: 1.553 MB / 0.7889 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.5746, allocations: 1.085 MB / 0.7899 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004012/0.5787, allocations: 1.932 MB / 0.7918 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 5.58e-06/0.5787, allocations: 4 kB / 0.7918 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.0122/0.5909, allocations: 4.913 MB / 0.7966 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.5911, allocations: 253.3 kB / 0.7969 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.5939, allocations: 1.947 MB / 0.7988 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.5941, allocations: 69.7 kB / 0.7988 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/0.5951, allocations: 1.236 MB / 0.8 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.5958, allocations: 0.747 MB / 0.8008 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008967/0.5967, allocations: 0.515 MB / 0.8013 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.5968, allocations: 305.1 kB / 0.8016 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.6001, allocations: 1.425 MB / 0.803 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.6037, allocations: 1.751 MB / 0.8047 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006866/0.6106, allocations: 3.162 MB / 0.8078 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6106, allocations: 0 / 0.8078 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008726/0.6194, allocations: 3.688 MB / 0.8114 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6194, allocations: 8.469 kB / 0.8114 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6194, allocations: 8 kB / 0.8114 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.62, allocations: 92.77 kB / 0.8115 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.6234, allocations: 0.7097 MB / 0.8122 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2362/0.8596, allocations: 1.516 MB / 0.8136 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.8633, allocations: 436.7 kB / 0.8141 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/0.8639, allocations: 130.7 kB / 0.8142 GB, free: 213.8 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.002141/0.8661, allocations: 0.7934 MB / 0.815 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.8669, allocations: 238.1 kB / 0.8152 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/0.8768, allocations: 4.042 MB / 0.8191 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.8769, allocations: 23.91 kB / 0.8191 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8769, allocations: 1.031 kB / 0.8191 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.8769, allocations: 13.06 kB / 0.8192 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.8896, allocations: 7.227 MB / 0.8262 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8897, allocations: 0 / 0.8262 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/0.8924, allocations: 0.5939 MB / 0.8268 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.8929, allocations: 86.92 kB / 0.8269 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.8931, allocations: 68.09 kB / 0.8269 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.8945, allocations: 1.551 MB / 0.8285 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8945, allocations: 3.938 kB / 0.8285 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.9015, allocations: 3.331 MB / 0.8317 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.9027, allocations: 0.6761 MB / 0.8324 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.9031, allocations: 67.25 kB / 0.8324 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.9054, allocations: 282 kB / 0.8327 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.9057, allocations: 156.6 kB / 0.8329 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/0.9059, allocations: 86.03 kB / 0.8329 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001859/0.9078, allocations: 1.471 MB / 0.8344 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.02e-07/0.9078, allocations: 0 / 0.8344 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002432/0.9102, allocations: 0.8831 MB / 0.8352 GB, free: 206 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.008364/0.9186, allocations: 4.473 MB / 0.8396 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006966/0.9256, allocations: 3.332 MB / 0.8429 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9256, allocations: 4.312 kB / 0.8429 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.9286, allocations: 1.723 MB / 0.8446 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.9306, allocations: 430.2 kB / 0.845 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/0.9733, allocations: 26.93 MB / 0.8713 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9744, allocations: 2.222 MB / 0.8734 GB, free: 171.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002916/0.9774, allocations: 0.9623 MB / 0.8744 GB, free: 170.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/0.9791, allocations: 1.323 MB / 0.8757 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.9791, allocations: 0 / 0.8757 GB, free: 168.8 MB / 0.6387 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/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 2.044/3.023, allocations: 56.77 MB / 0.9311 GB, free: 112.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/3.023, allocations: 279.7 kB / 0.9314 GB, free: 112.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/7.614, allocations: 3.75 kB / 0.9314 GB, free: 112.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)