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.005796/0.005796, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001732/0.001732, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8088/0.8088, allocations: 132.2 MB / 422.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.12 kB / 0.5811 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1662, allocations: 80.2 MB / 0.6594 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009773/0.176, allocations: 7.112 MB / 0.6663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5492/0.7253, allocations: 155.5 MB / 0.8182 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.7265, allocations: 29.88 kB / 0.8182 GB, free: 2.953 MB / 0.6387 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.0007794/0.7273, allocations: 291.7 kB / 0.8185 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.7294, allocations: 0.7103 MB / 0.8192 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.7323, allocations: 1.208 MB / 0.8204 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00487/0.7372, allocations: 4.064 MB / 0.8243 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.7401, allocations: 2.47 MB / 0.8268 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.7436, allocations: 1.653 MB / 0.8284 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.7467, allocations: 1.745 MB / 0.8301 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007139/0.7474, allocations: 343.1 kB / 0.8304 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.7498, allocations: 0.9479 MB / 0.8313 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008197/0.7506, allocations: 0.8911 MB / 0.8322 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.7531, allocations: 1.726 MB / 0.8339 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.7602, allocations: 4.702 MB / 0.8385 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.7602, allocations: 0 / 0.8385 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7602, allocations: 1 kB / 0.8385 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001327/0.7603, allocations: 0 / 0.8385 GB, free: 1.023 MB / 0.6387 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.008601/0.769, allocations: 4.008 MB / 0.8424 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.769, allocations: 7.812 kB / 0.8424 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005222/0.7695, allocations: 427.7 kB / 0.8428 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009059/0.7786, allocations: 1.323 MB / 0.8441 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.7824, allocations: 1.963 MB / 0.846 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.7826, allocations: 229.8 kB / 0.8462 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.7831, allocations: 295.6 kB / 0.8465 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008782/0.7919, allocations: 4.207 MB / 0.8506 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.792, allocations: 1.031 kB / 0.8506 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.7923, allocations: 127.9 kB / 0.8508 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.7923, allocations: 73.84 kB / 0.8508 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009541/0.8019, allocations: 4.595 MB / 0.8553 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0204/0.8223, allocations: 12.81 MB / 0.8678 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.8327, allocations: 3.771 MB / 0.8715 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/0.8367, allocations: 1.552 MB / 0.873 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.8381, allocations: 1.084 MB / 0.8741 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004491/0.8426, allocations: 1.939 MB / 0.876 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 4.198e-06/0.8426, allocations: 0 / 0.876 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.01326/0.8559, allocations: 4.918 MB / 0.8808 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.8561, allocations: 264.6 kB / 0.881 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.859, allocations: 1.946 MB / 0.8829 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.8593, allocations: 62.95 kB / 0.883 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.8605, allocations: 1.282 MB / 0.8842 GB, free: 15.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008563/0.8614, allocations: 0.7819 MB / 0.885 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/0.8623, allocations: 0.5143 MB / 0.8855 GB, free: 14.66 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8625, allocations: 305.1 kB / 0.8858 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003951/0.8664, allocations: 1.425 MB / 0.8872 GB, free: 13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004352/0.8708, allocations: 1.755 MB / 0.8889 GB, free: 11.14 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00826/0.8791, allocations: 3.165 MB / 0.892 GB, free: 7.922 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8791, allocations: 0 / 0.892 GB, free: 7.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0105/0.8896, allocations: 3.701 MB / 0.8956 GB, free: 4.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.8897, allocations: 8 kB / 0.8956 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.8897, allocations: 7.938 kB / 0.8956 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.8904, allocations: 96.95 kB / 0.8957 GB, free: 4.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.8941, allocations: 0.6987 MB / 0.8964 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.8966, allocations: 1.647 MB / 0.898 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.9003, allocations: 440.1 kB / 0.8984 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/0.9006, allocations: 127.8 kB / 0.8985 GB, free: 1.125 MB / 0.67 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.001984/0.9026, allocations: 0.7983 MB / 0.8993 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007477/0.9034, allocations: 242.5 kB / 0.8996 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.9144, allocations: 4.028 MB / 0.9035 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.9145, allocations: 27.94 kB / 0.9035 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9145, allocations: 4 kB / 0.9035 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.9145, allocations: 15.95 kB / 0.9035 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.9302, allocations: 7.182 MB / 0.9105 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.9302, allocations: 0 / 0.9105 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/0.9333, allocations: 0.5982 MB / 0.9111 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.9338, allocations: 80.78 kB / 0.9112 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002544/0.9341, allocations: 63.95 kB / 0.9113 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.9364, allocations: 1.675 MB / 0.9129 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9364, allocations: 4 kB / 0.9129 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009037/0.9455, allocations: 3.342 MB / 0.9162 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.9472, allocations: 0.69 MB / 0.9168 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006856/0.9479, allocations: 67.73 kB / 0.9169 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/0.9507, allocations: 275.6 kB / 0.9172 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/0.9511, allocations: 157.7 kB / 0.9173 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/0.9514, allocations: 87.94 kB / 0.9174 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00284/0.9542, allocations: 1.463 MB / 0.9188 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9542, allocations: 0 / 0.9188 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002846/0.9571, allocations: 0.8921 MB / 0.9197 GB, free: 11.18 MB / 0.7012 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.01142/0.9685, allocations: 4.481 MB / 0.9241 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009132/0.9777, allocations: 3.352 MB / 0.9274 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9777, allocations: 0 / 0.9274 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.982, allocations: 1.715 MB / 0.929 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.9848, allocations: 460.8 kB / 0.9295 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05439/1.039, allocations: 23.43 MB / 0.9524 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.042, allocations: 2.228 MB / 0.9545 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00368/1.046, allocations: 0.9614 MB / 0.9555 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/1.048, allocations: 1.323 MB / 0.9568 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.048, allocations: 0 / 0.9568 GB, free: 5.219 MB / 0.7325 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.1207/1.169, allocations: 59.13 MB / 1.015 GB, free: 10.63 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.31, allocations: 7.172 kB / 1.015 GB, free: 10.63 MB / 0.795 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)