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.004991/0.004991, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001482/0.001482, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8891/0.8891, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 71.89 kB / 0.5859 GB, free: 3.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3547, allocations: 81.02 MB / 0.6651 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00642/0.3612, allocations: 7.115 MB / 0.672 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5371, allocations: 155.5 MB / 0.8239 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.5381, allocations: 39.81 kB / 0.8239 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.5388, allocations: 277.1 kB / 0.8242 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.5406, allocations: 0.7182 MB / 0.8249 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.543, allocations: 1.21 MB / 0.8261 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00402/0.547, allocations: 4.063 MB / 0.83 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/0.5505, allocations: 2.646 MB / 0.8326 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.5535, allocations: 1.628 MB / 0.8342 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.5565, allocations: 1.739 MB / 0.8359 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.5573, allocations: 340 kB / 0.8362 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.5599, allocations: 0.9446 MB / 0.8372 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.561, allocations: 0.8992 MB / 0.838 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.5631, allocations: 1.714 MB / 0.8397 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005485/0.5686, allocations: 4.662 MB / 0.8443 GB, free: 8.637 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5686, allocations: 0 / 0.8443 GB, free: 8.637 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5686, allocations: 4 kB / 0.8443 GB, free: 8.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001183/0.5688, allocations: 0 / 0.8443 GB, free: 8.633 MB / 0.67 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.007825/0.5766, allocations: 3.977 MB / 0.8482 GB, free: 4.582 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5766, allocations: 15.97 kB / 0.8482 GB, free: 4.566 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005032/0.5771, allocations: 425.8 kB / 0.8486 GB, free: 4.141 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008528/0.5857, allocations: 1.305 MB / 0.8499 GB, free: 2.832 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.5885, allocations: 1.928 MB / 0.8517 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.5887, allocations: 230.1 kB / 0.852 GB, free: 0.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.5891, allocations: 292 kB / 0.8522 GB, free: 348 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008467/0.5976, allocations: 4.213 MB / 0.8563 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.5977, allocations: 3.938 kB / 0.8564 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.598, allocations: 128 kB / 0.8565 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.5981, allocations: 76 kB / 0.8565 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.6081, allocations: 4.573 MB / 0.861 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2982/0.9063, allocations: 12.77 MB / 0.8735 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009353/0.9157, allocations: 3.779 MB / 0.8772 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003495/0.9192, allocations: 1.566 MB / 0.8787 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.9201, allocations: 1.079 MB / 0.8798 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003528/0.9236, allocations: 1.938 MB / 0.8816 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 4.028e-06/0.9236, allocations: 2.438 kB / 0.8817 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01119/0.9348, allocations: 4.921 MB / 0.8865 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.9349, allocations: 258.3 kB / 0.8867 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.9371, allocations: 1.901 MB / 0.8886 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.9373, allocations: 66.83 kB / 0.8886 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.9379, allocations: 1.26 MB / 0.8899 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.9384, allocations: 0.7827 MB / 0.8906 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007068/0.9391, allocations: 0.5096 MB / 0.8911 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.9391, allocations: 302.1 kB / 0.8914 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.9422, allocations: 1.424 MB / 0.8928 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/0.9455, allocations: 1.752 MB / 0.8945 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/0.9517, allocations: 3.177 MB / 0.8976 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.9517, allocations: 2.094 kB / 0.8976 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00796/0.9596, allocations: 3.697 MB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9597, allocations: 7.219 kB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9597, allocations: 10.03 kB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.9602, allocations: 87.72 kB / 0.9013 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.9632, allocations: 0.7148 MB / 0.902 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.9646, allocations: 1.634 MB / 0.9036 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.9673, allocations: 439.1 kB / 0.904 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.9676, allocations: 131.3 kB / 0.9042 GB, free: 166.7 MB / 0.6856 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.001167/0.9687, allocations: 0.7879 MB / 0.9049 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/0.9691, allocations: 242.3 kB / 0.9052 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00795/0.9771, allocations: 4.025 MB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.9771, allocations: 25.97 kB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9771, allocations: 0 / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.9771, allocations: 11.95 kB / 0.9091 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/0.9869, allocations: 7.181 MB / 0.9161 GB, free: 157.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.987, allocations: 0 / 0.9161 GB, free: 157.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/0.9894, allocations: 0.5968 MB / 0.9167 GB, free: 157 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/0.9898, allocations: 76.78 kB / 0.9168 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.9899, allocations: 67.95 kB / 0.9169 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.9912, allocations: 1.664 MB / 0.9185 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.9913, allocations: 3.938 kB / 0.9185 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/0.9974, allocations: 3.334 MB / 0.9217 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008331/0.9983, allocations: 0.6937 MB / 0.9224 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.9986, allocations: 62.66 kB / 0.9225 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.001, allocations: 282.1 kB / 0.9228 GB, free: 150.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/1.001, allocations: 157.7 kB / 0.9229 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.001, allocations: 88.08 kB / 0.923 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001405/1.003, allocations: 1.438 MB / 0.9244 GB, free: 149 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.003, allocations: 0 / 0.9244 GB, free: 149 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001599/1.004, allocations: 0.8899 MB / 0.9253 GB, free: 148.1 MB / 0.6856 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.009208/1.013, allocations: 4.469 MB / 0.9296 GB, free: 143.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006302/1.02, allocations: 3.358 MB / 0.9329 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.02, allocations: 0 / 0.9329 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/1.023, allocations: 1.724 MB / 0.9346 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.024, allocations: 458.6 kB / 0.935 GB, free: 138.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/1.06, allocations: 23.24 MB / 0.9577 GB, free: 114.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.061, allocations: 2.209 MB / 0.9599 GB, free: 112.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002488/1.064, allocations: 0.9461 MB / 0.9608 GB, free: 111.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.065, allocations: 1.311 MB / 0.9621 GB, free: 110.2 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/1.065, allocations: 0 / 0.9621 GB, free: 110.2 MB / 0.6856 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 3.169/4.234, allocations: 58.66 MB / 1.019 GB, free: 51.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/26.18, allocations: 14.31 kB / 1.019 GB, free: 51.83 MB / 0.6856 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)