Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 108.5 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 175.8 MB / 478.4 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 179] 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.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 63.62 kB / 0.6652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2093, allocations: 94.54 MB / 0.7575 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.414/0.6233, allocations: 3.777 MB / 0.7612 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.6262, allocations: 1.81 MB / 0.763 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.6264, allocations: 18.31 kB / 0.763 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000803/0.6272, allocations: 268 kB / 0.7633 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.6279, allocations: 314.2 kB / 0.7636 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.6285, allocations: 245.5 kB / 0.7638 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006768/0.6292, allocations: 0.6037 MB / 0.7644 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.6296, allocations: 215.7 kB / 0.7646 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.6299, allocations: 241.1 kB / 0.7648 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.6303, allocations: 247.1 kB / 0.765 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.6303, allocations: 26.66 kB / 0.7651 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.6309, allocations: 284.7 kB / 0.7653 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.631, allocations: 119.3 kB / 0.7655 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.6312, allocations: 216.1 kB / 0.7657 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.6319, allocations: 0.5848 MB / 0.7662 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6319, allocations: 0 / 0.7662 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6319, allocations: 1.25 kB / 0.7662 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.6319, allocations: 5.188 kB / 0.7662 GB, free: 5.855 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001051/0.6329, allocations: 0.7464 MB / 0.767 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.633, allocations: 10.53 kB / 0.767 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.633, allocations: 80.67 kB / 0.7671 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.6339, allocations: 127.7 kB / 0.7672 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.6344, allocations: 413.7 kB / 0.7676 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6344, allocations: 24.02 kB / 0.7676 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.6345, allocations: 31.83 kB / 0.7676 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.6352, allocations: 0.555 MB / 0.7682 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6352, allocations: 6.969 kB / 0.7682 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.6352, allocations: 13.81 kB / 0.7682 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.6353, allocations: 39.67 kB / 0.7682 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.636, allocations: 412.8 kB / 0.7686 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.6382, allocations: 3.326 MB / 0.7719 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.6389, allocations: 323.1 kB / 0.7722 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.6392, allocations: 161.4 kB / 0.7723 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.6392, allocations: 2.719 kB / 0.7723 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.6392, allocations: 32.75 kB / 0.7724 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.6392, allocations: 0.6875 kB / 0.7724 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.001949/0.6412, allocations: 1.067 MB / 0.7734 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.6412, allocations: 55.58 kB / 0.7735 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.6416, allocations: 343.7 kB / 0.7738 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6417, allocations: 32.23 kB / 0.7738 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6418, allocations: 251.7 kB / 0.7741 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.6418, allocations: 96.27 kB / 0.7742 GB, free: 16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6419, allocations: 83.52 kB / 0.7742 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6421, allocations: 347.1 kB / 0.7746 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.6424, allocations: 147.3 kB / 0.7747 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.6427, allocations: 299.4 kB / 0.775 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.6434, allocations: 472.4 kB / 0.7754 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6434, allocations: 10.47 kB / 0.7754 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001021/0.6444, allocations: 0.5614 MB / 0.776 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6445, allocations: 6.781 kB / 0.776 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.6445, allocations: 5.828 kB / 0.776 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.6448, allocations: 88.25 kB / 0.7761 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.6452, allocations: 87.81 kB / 0.7762 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6452, allocations: 11.06 kB / 0.7762 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.6455, allocations: 35.28 kB / 0.7762 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.6455, allocations: 18.55 kB / 0.7762 GB, free: 14.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.6457, allocations: 176.4 kB / 0.7764 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.6458, allocations: 42.25 kB / 0.7764 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.6467, allocations: 466.4 kB / 0.7769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6467, allocations: 3.344 kB / 0.7769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6467, allocations: 1.781 kB / 0.7769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6467, allocations: 1.453 kB / 0.7769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6484, allocations: 0.9614 MB / 0.7778 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6484, allocations: 0.75 kB / 0.7778 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.6486, allocations: 50.42 kB / 0.7779 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.6489, allocations: 83.55 kB / 0.778 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.6489, allocations: 6.094 kB / 0.778 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6489, allocations: 6.938 kB / 0.778 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.6489, allocations: 9.531 kB / 0.778 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.6498, allocations: 0.5468 MB / 0.7785 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.65, allocations: 141.3 kB / 0.7787 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.6501, allocations: 3.281 kB / 0.7787 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6503, allocations: 23.62 kB / 0.7787 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.6504, allocations: 28.25 kB / 0.7787 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.6504, allocations: 10.83 kB / 0.7787 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002503/0.6507, allocations: 234 kB / 0.7789 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6507, allocations: 0 / 0.7789 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004338/0.6511, allocations: 89.22 kB / 0.779 GB, free: 13.11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.6523, allocations: 1.093 MB / 0.7801 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001/0.6533, allocations: 0.6156 MB / 0.7807 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6533, allocations: 0 / 0.7807 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.6538, allocations: 419.7 kB / 0.7811 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.6545, allocations: 130.6 kB / 0.7812 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.6598, allocations: 3.744 MB / 0.7849 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.6603, allocations: 0.8247 MB / 0.7857 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.6606, allocations: 80.39 kB / 0.7858 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6608, allocations: 127.7 kB / 0.7859 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.6608, allocations: 0.6562 kB / 0.7859 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.6985, allocations: 8.371 MB / 0.7941 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.17, allocations: 5.047 kB / 0.7941 GB, free: 6.914 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.922579264268279] Failed to read output from testmodel.py, exit status != 0: 11.258802589029074 11.272926487 10.638070478 Calling exit ...